Skip to content

Commit b84482a

Browse files
UdjinM6codablock
authored andcommitted
Let regtest have its own qt settings (#3286)
Also, avoid messing up testnet settings while playing in regtest
1 parent 1c885bb commit b84482a

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/qt/guiconstants.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,6 @@ static const int MAX_URI_LENGTH = 255;
3636
#define QAPP_APP_NAME_DEFAULT "Dash-Qt"
3737
#define QAPP_APP_NAME_TESTNET "Dash-Qt-testnet"
3838
#define QAPP_APP_NAME_DEVNET "Dash-Qt-%s"
39+
#define QAPP_APP_NAME_REGTEST "Dash-Qt-regtest"
3940

4041
#endif // BITCOIN_QT_GUICONSTANTS_H

src/qt/networkstyle.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ static const struct {
2323
{"main", QAPP_APP_NAME_DEFAULT, 0, 0, ""},
2424
{"test", QAPP_APP_NAME_TESTNET, 190, 20, QT_TRANSLATE_NOOP("SplashScreen", "[testnet]")},
2525
{"dev", QAPP_APP_NAME_DEVNET, 190, 20, "[devnet: %s]"},
26-
{"regtest", QAPP_APP_NAME_TESTNET, 160, 30, "[regtest]"}
26+
{"regtest", QAPP_APP_NAME_REGTEST, 160, 30, "[regtest]"}
2727
};
2828
static const unsigned network_styles_count = sizeof(network_styles)/sizeof(*network_styles);
2929

0 commit comments

Comments
 (0)