aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Kaufmann <phil.kaufmann@t-online.de>2014-09-22 15:48:34 +0200
committerPhilip Kaufmann <phil.kaufmann@t-online.de>2014-09-23 09:56:46 +0200
commitbb26e2c896a92b7d9376e2a903ebc9a1825b92d8 (patch)
treedda0522f598fa81322bcb9e2183dbb2cda8f028d
parentcb9871194a7fffe8bc0a53ea820b1a395e79e283 (diff)
[Qt] minor changes in splashscreen.cpp
- guard an unused variable with Q_UNUSED() macro - remove a commented out line of code
-rw-r--r--src/qt/splashscreen.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/qt/splashscreen.cpp b/src/qt/splashscreen.cpp
index 673e984691..4fe610794f 100644
--- a/src/qt/splashscreen.cpp
+++ b/src/qt/splashscreen.cpp
@@ -22,8 +22,6 @@
SplashScreen::SplashScreen(Qt::WindowFlags f, bool isTestNet) :
QWidget(0, f), curAlignment(0)
{
- //setAutoFillBackground(true);
-
// set reference point, paddings
int paddingRight = 50;
int paddingTop = 50;
@@ -114,6 +112,7 @@ SplashScreen::~SplashScreen()
void SplashScreen::slotFinish(QWidget *mainWin)
{
+ Q_UNUSED(mainWin);
hide();
}
@@ -180,4 +179,3 @@ void SplashScreen::closeEvent(QCloseEvent *event)
{
event->ignore();
}
-