mirror of
https://github.com/leozide/leocad.git
synced 2026-07-27 19:56:49 +00:00
Warning fix.
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user