mirror of
https://github.com/dashpay/dash.git
synced 2024-12-27 04:52:59 +01:00
[Qt] minor changes in splashscreen.cpp
- guard an unused variable with Q_UNUSED() macro - remove a commented out line of code
This commit is contained in:
parent
cb9871194a
commit
bb26e2c896
@ -22,8 +22,6 @@
|
|||||||
SplashScreen::SplashScreen(Qt::WindowFlags f, bool isTestNet) :
|
SplashScreen::SplashScreen(Qt::WindowFlags f, bool isTestNet) :
|
||||||
QWidget(0, f), curAlignment(0)
|
QWidget(0, f), curAlignment(0)
|
||||||
{
|
{
|
||||||
//setAutoFillBackground(true);
|
|
||||||
|
|
||||||
// set reference point, paddings
|
// set reference point, paddings
|
||||||
int paddingRight = 50;
|
int paddingRight = 50;
|
||||||
int paddingTop = 50;
|
int paddingTop = 50;
|
||||||
@ -114,6 +112,7 @@ SplashScreen::~SplashScreen()
|
|||||||
|
|
||||||
void SplashScreen::slotFinish(QWidget *mainWin)
|
void SplashScreen::slotFinish(QWidget *mainWin)
|
||||||
{
|
{
|
||||||
|
Q_UNUSED(mainWin);
|
||||||
hide();
|
hide();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -180,4 +179,3 @@ void SplashScreen::closeEvent(QCloseEvent *event)
|
|||||||
{
|
{
|
||||||
event->ignore();
|
event->ignore();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user