mirror of
https://github.com/ElementsProject/elements.git
synced 2026-08-14 12:43:40 +02:00
QT: --enable-liquid needs to use different QAPP name for QSettings
This commit is contained in:
parent
f47578083e
commit
ff12bf7250
1 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue