mirror of
https://github.com/kvazar-network/kevacoin.git
synced 2025-01-29 16:24:22 +00:00
splashscreen: use TestNet() instead of unneeded string processing
This commit is contained in:
parent
be484db274
commit
81bdc9a512
@ -66,9 +66,8 @@ SplashScreen::SplashScreen(const QPixmap &pixmap, Qt::WindowFlags f) :
|
|||||||
pixPaint.setFont(QFont(font, 10*fontFactor));
|
pixPaint.setFont(QFont(font, 10*fontFactor));
|
||||||
pixPaint.drawText(newPixmap.width()-titleTextWidth-paddingRight,paddingTop+titleCopyrightVSpace,copyrightText);
|
pixPaint.drawText(newPixmap.width()-titleTextWidth-paddingRight,paddingTop+titleCopyrightVSpace,copyrightText);
|
||||||
|
|
||||||
// draw testnet string if -testnet is on
|
// draw testnet string if testnet is on
|
||||||
if(QApplication::applicationName().contains(QString("-testnet"))) {
|
if(TestNet()) {
|
||||||
// draw copyright stuff
|
|
||||||
QFont boldFont = QFont(font, 10*fontFactor);
|
QFont boldFont = QFont(font, 10*fontFactor);
|
||||||
boldFont.setWeight(QFont::Bold);
|
boldFont.setWeight(QFont::Bold);
|
||||||
pixPaint.setFont(boldFont);
|
pixPaint.setFont(boldFont);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user