Skip to content

Commit

Permalink
QT: --enable-liquid needs to use different QAPP name for QSettings
Browse files Browse the repository at this point in the history
  • Loading branch information
instagibbs committed Apr 18, 2019
1 parent f475780 commit ff12bf7
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/qt/guiconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,16 @@ static const int MAX_URI_LENGTH = 255;

#define QAPP_ORG_NAME "Bitcoin"
#define QAPP_ORG_DOMAIN "bitcoin.org"
#if LIQUID
#define QAPP_APP_NAME_DEFAULT "Liquid-Qt"
#else
#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"
#endif

#endif // BITCOIN_QT_GUICONSTANTS_H

0 comments on commit ff12bf7

Please sign in to comment.