Warning fix.

This commit is contained in:
Leonardo Zide 2021-07-05 17:12:06 -07:00
parent d56e389ee4
commit 35ba24fb40

View file

@ -126,7 +126,7 @@ void lcQColorPicker::buttonPressed(bool toggled)
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
QScreen* Screen = screen();
const QRect desktop = Screen ? Screen->geometry() : QRect();
#else (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
#else
const QRect desktop = QApplication::desktop()->geometry();
#endif