From 35ba24fb40f35dc35de0452dd27b5b22fa70d16a Mon Sep 17 00:00:00 2001 From: Leonardo Zide Date: Mon, 5 Jul 2021 17:12:06 -0700 Subject: [PATCH] Warning fix. --- qt/lc_qcolorpicker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qt/lc_qcolorpicker.cpp b/qt/lc_qcolorpicker.cpp index 9576746c..2d7e1020 100644 --- a/qt/lc_qcolorpicker.cpp +++ b/qt/lc_qcolorpicker.cpp @@ -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