Skip to content

Commit

Permalink
qt: Work (don't crash) with -segnet
Browse files Browse the repository at this point in the history
  • Loading branch information
theuni authored and sipa committed Jan 16, 2016
1 parent bc03fe9 commit d6e62d0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/qt/guiconstants.h
Original file line number Diff line number Diff line change
Expand Up @@ -50,5 +50,6 @@ static const int MAX_URI_LENGTH = 255;
#define QAPP_ORG_DOMAIN "bitcoin.org"
#define QAPP_APP_NAME_DEFAULT "Bitcoin-Qt"
#define QAPP_APP_NAME_TESTNET "Bitcoin-Qt-testnet"
#define QAPP_APP_NAME_SEGNET "Bitcoin-Qt-segnet"

#endif // BITCOIN_QT_GUICONSTANTS_H
1 change: 1 addition & 0 deletions src/qt/networkstyle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ static const struct {
} network_styles[] = {
{"main", QAPP_APP_NAME_DEFAULT, 0, 0, ""},
{"test", QAPP_APP_NAME_TESTNET, 70, 30, QT_TRANSLATE_NOOP("SplashScreen", "[testnet]")},
{"segnet", QAPP_APP_NAME_SEGNET, 30, 30, QT_TRANSLATE_NOOP("SplashScreen", "[segnet]")},
{"regtest", QAPP_APP_NAME_TESTNET, 160, 30, "[regtest]"}
};
static const unsigned network_styles_count = sizeof(network_styles)/sizeof(*network_styles);
Expand Down

0 comments on commit d6e62d0

Please sign in to comment.