Skip to content

Commit 09e1066

Browse files
committed
Remove unused variable
1 parent cf57eba commit 09e1066

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/main.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,6 @@ void disableScreensaver() {
5656
void disableScreensaver() {
5757
if (auto *x11Application =
5858
qGuiApp->nativeInterface<QNativeInterface::QX11Application>()) {
59-
Display *display = x11Application->display();
6059
xcb_connection_t *connection = x11Application->connection();
6160
xcb_dpms_set_timeouts(connection, 0, 0, 0);
6261
xcb_screensaver_suspend(connection, XCB_SCREENSAVER_SUSPEND);

0 commit comments

Comments
 (0)