Use Q_UNUSED
This commit is contained in:
parent
26a8bfaac4
commit
c7df0c9b28
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user