summaryrefslogtreecommitdiffstats
path: root/src/client/util/platform/blankscreen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/util/platform/blankscreen.cpp')
-rw-r--r--src/client/util/platform/blankscreen.cpp8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/client/util/platform/blankscreen.cpp b/src/client/util/platform/blankscreen.cpp
index 5f9b04b..a4c7d30 100644
--- a/src/client/util/platform/blankscreen.cpp
+++ b/src/client/util/platform/blankscreen.cpp
@@ -7,10 +7,6 @@
#include <QTimer>
#include <X11/Xlib.h>
-#include <X11/cursorfont.h>
-
-#include <cassert>
-#include <cstring>
struct BlankScreen_Sysdep {
Display *dpy;
@@ -27,8 +23,8 @@ BlankScreen::BlankScreen() : QDialog(nullptr)
setStyleSheet("background-color:#000");
_locked = false;
- QTimer *upper = new QTimer(this);
- connect(upper, SIGNAL(timeout()), this, SLOT(timer_moveToTop()));
+ auto *upper = new QTimer(this);
+ connect(upper, &QTimer::timeout, this, &BlankScreen::timer_moveToTop);
upper->start(1111);
}