From ff12bf7250e02d1eadcc7e461f1761bdead10215 Mon Sep 17 00:00:00 2001 From: Gregory Sanders Date: Thu, 18 Apr 2019 12:06:28 -0400 Subject: [PATCH] QT: --enable-liquid needs to use different QAPP name for QSettings --- src/qt/guiconstants.h | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/qt/guiconstants.h b/src/qt/guiconstants.h index a25fa14d2f..afca43c1c3 100644 --- a/src/qt/guiconstants.h +++ b/src/qt/guiconstants.h @@ -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