mirror of
https://github.com/leozide/leocad
synced 2025-01-17 18:11:42 +01:00
Warning fix.
This commit is contained in:
parent
d56e389ee4
commit
35ba24fb40
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue