Skip to content

Commit

Permalink
Merge pull request #3125 from Diapolo/splash_testnet
Browse files Browse the repository at this point in the history
splashscreen: use TestNet() instead of unneeded string processing
  • Loading branch information
laanwj committed Oct 22, 2013
2 parents be484db + 81bdc9a commit 8435f7b
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/qt/splashscreen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 8435f7b

Please sign in to comment.