From c7df0c9b281a88c28b5838e32344f1a4abc31a62 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Mon, 6 Jul 2020 20:32:17 +0200 Subject: [PATCH] Use Q_UNUSED --- src/widgets/osdpretty.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/widgets/osdpretty.cpp b/src/widgets/osdpretty.cpp index 2384168ce..55a831cb6 100644 --- a/src/widgets/osdpretty.cpp +++ b/src/widgets/osdpretty.cpp @@ -502,6 +502,7 @@ QScreen *OSDPretty::current_screen(const QPoint &pos) const { #if (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0)) screen = QGuiApplication::screenAt(pos); #else + Q_UNUSED(pos) if (window() && window()->windowHandle()) screen = window()->windowHandle()->screen(); #endif if (!screen) screen = QGuiApplication::primaryScreen();