QT: --enable-liquid needs to use different QAPP name for QSettings

This commit is contained in:
Gregory Sanders 2019-04-18 12:06:28 -04:00
parent f47578083e
commit ff12bf7250

View file

@ -48,7 +48,16 @@ static const int MAX_URI_LENGTH = 255;
#define QAPP_ORG_NAME "Bitcoin" #define QAPP_ORG_NAME "Bitcoin"
#define QAPP_ORG_DOMAIN "bitcoin.org" #define QAPP_ORG_DOMAIN "bitcoin.org"
#if LIQUID
#define QAPP_APP_NAME_DEFAULT "Liquid-Qt"
#else
#define QAPP_APP_NAME_DEFAULT "Elements-Qt" #define QAPP_APP_NAME_DEFAULT "Elements-Qt"
#endif
#if LIQUID
#define QAPP_APP_NAME_TESTNET "Liquid-Qt-testnet"
#else
#define QAPP_APP_NAME_TESTNET "Elements-Qt-testnet" #define QAPP_APP_NAME_TESTNET "Elements-Qt-testnet"
#endif
#endif // BITCOIN_QT_GUICONSTANTS_H #endif // BITCOIN_QT_GUICONSTANTS_H