mirror of
https://github.com/leozide/leocad
synced 2025-01-18 22:26:44 +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))
|
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
|
||||||
QScreen* Screen = screen();
|
QScreen* Screen = screen();
|
||||||
const QRect desktop = Screen ? Screen->geometry() : QRect();
|
const QRect desktop = Screen ? Screen->geometry() : QRect();
|
||||||
#else (QT_VERSION >= QT_VERSION_CHECK(5, 10, 0))
|
#else
|
||||||
const QRect desktop = QApplication::desktop()->geometry();
|
const QRect desktop = QApplication::desktop()->geometry();
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue