Skip to content

Commit

Permalink
Fix regtest style and showing testnet icons
Browse files Browse the repository at this point in the history
  • Loading branch information
cevap authored and FornaxA committed Feb 5, 2019
1 parent 91f26ae commit 5a47fa0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/qt/guiconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -55,5 +55,6 @@ static const int MAX_URI_LENGTH = 255;
#define QAPP_ORG_DOMAIN "ionomy.com"
#define QAPP_APP_NAME_DEFAULT "Ion-Qt"
#define QAPP_APP_NAME_TESTNET "Ion-Qt-testnet"
#define QAPP_APP_NAME_REGTEST "Ion-Qt-regtest"

#endif // BITCOIN_QT_GUICONSTANTS_H
2 changes: 1 addition & 1 deletion src/qt/networkstyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ static const struct {
} network_styles[] = {
{"main", QAPP_APP_NAME_DEFAULT, ":/icons/ion", "", ":/images/splash"},
{"test", QAPP_APP_NAME_TESTNET, ":/icons/ion_testnet", QT_TRANSLATE_NOOP("SplashScreen", "[testnet]"), ":/images/splash_testnet"},
{"regtest", QAPP_APP_NAME_TESTNET, ":/icons/ion_regtest", "[regtest]", ":/images/splash_regtest"},
{"regtest", QAPP_APP_NAME_REGTEST, ":/icons/ion_regtest", "[regtest]", ":/images/splash_regtest"},
{"unittest", QAPP_APP_NAME_TESTNET, ":/icons/ion_unittest", "[unittest]", ":/images/splash_unittest"}};
static const unsigned network_styles_count = sizeof(network_styles) / sizeof(*network_styles);

Expand Down

0 comments on commit 5a47fa0

Please sign in to comment.