Let regtest have its own qt settings (#3286)
Also, avoid messing up testnet settings while playing in regtest
This commit is contained in:
parent
1c885bbedf
commit
b84482ac57
@ -36,5 +36,6 @@ static const int MAX_URI_LENGTH = 255;
|
||||
#define QAPP_APP_NAME_DEFAULT "Dash-Qt"
|
||||
#define QAPP_APP_NAME_TESTNET "Dash-Qt-testnet"
|
||||
#define QAPP_APP_NAME_DEVNET "Dash-Qt-%s"
|
||||
#define QAPP_APP_NAME_REGTEST "Dash-Qt-regtest"
|
||||
|
||||
#endif // BITCOIN_QT_GUICONSTANTS_H
|
||||
|
@ -23,7 +23,7 @@ static const struct {
|
||||
{"main", QAPP_APP_NAME_DEFAULT, 0, 0, ""},
|
||||
{"test", QAPP_APP_NAME_TESTNET, 190, 20, QT_TRANSLATE_NOOP("SplashScreen", "[testnet]")},
|
||||
{"dev", QAPP_APP_NAME_DEVNET, 190, 20, "[devnet: %s]"},
|
||||
{"regtest", QAPP_APP_NAME_TESTNET, 160, 30, "[regtest]"}
|
||||
{"regtest", QAPP_APP_NAME_REGTEST, 160, 30, "[regtest]"}
|
||||
};
|
||||
static const unsigned network_styles_count = sizeof(network_styles)/sizeof(*network_styles);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user