aboutsummaryrefslogtreecommitdiff
path: root/src/qt
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-10-22 00:11:08 -0700
committerWladimir J. van der Laan <laanwj@gmail.com>2013-10-22 00:11:08 -0700
commit8435f7b8ee2521d11364f400cf63e9fb3f2c8a7d (patch)
treed64672cb2dac9d7bd5a6eeaea21b4f336903cfed /src/qt
parentbe484db274e6de7e7b6880d04b2d84e20b719b9a (diff)
parent81bdc9a512d2500568ea995f067b3d493a82afe3 (diff)
downloadbitcoin-8435f7b8ee2521d11364f400cf63e9fb3f2c8a7d.tar.xz
Merge pull request #3125 from Diapolo/splash_testnet
splashscreen: use TestNet() instead of unneeded string processing
Diffstat (limited to 'src/qt')
-rw-r--r--src/qt/splashscreen.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp
index 7c9bc46c46..07b71a3c9a 100644
--- a/src/qt/splashscreen.cpp
+++ b/src/qt/splashscreen.cpp
@@ -66,9 +66,8 @@ SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) :
pixPaint.setFont(QFont(font, 10*fontFactor));
pixPaint.drawText(newPixmap.width()-titleTextWidth-paddingRight,paddingTop+titleCopyrightVSpace,copyrightText);
- // draw testnet string if -testnet is on
- if(QApplication::applicationName().contains(QString("-testnet"))) {
- // draw copyright stuff
+ // draw testnet string if testnet is on
+ if(TestNet()) {
QFont boldFont = QFont(font, 10*fontFactor);
boldFont.setWeight(QFont::Bold);
pixPaint.setFont(boldFont);