Fix compilation with QT_DISABLE_DEPRECATED_BEFORE=0x060000
Regression introduced in b254b03dc3
Change-Id: I77e8718cc6be79d4fbea5510e8d7cc7808a609c2
Reviewed-by: Tor Arne Vestbø <tor.arne.vestbo@qt.io>
This commit is contained in:
parent
5d3ce3a640
commit
8a66924ca0
@ -112,6 +112,7 @@ private:
|
||||
friend class QApplicationPrivate;
|
||||
};
|
||||
|
||||
#if QT_DEPRECATED_SINCE(5, 11)
|
||||
inline int QDesktopWidget::screenCount() const
|
||||
{
|
||||
QT_WARNING_PUSH
|
||||
@ -119,6 +120,7 @@ QT_WARNING_DISABLE_DEPRECATED
|
||||
return numScreens();
|
||||
QT_WARNING_POP
|
||||
}
|
||||
#endif
|
||||
|
||||
QT_END_NAMESPACE
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user