Fix a build when QT_DISABLE_DEPRECATED_BEFORE is set to 6.1.0
Amends: ff8d757e222d0b9b8618b83e6c4186e366e917e9 Task-number: QTBUG-93033 Pick-to: 6.1 6.1.0 Change-Id: I67b7bda0f63fdb3c4e1864e38c872b96df90a8ae Reviewed-by: Christian Ehrlicher <ch.ehrlicher@gmx.de>
This commit is contained in:
parent
ffb5635c1a
commit
43d6778ce5
@ -761,8 +761,10 @@ inline Qt::WindowType QWidget::windowType() const
|
||||
inline Qt::WindowFlags QWidget::windowFlags() const
|
||||
{ return data->window_flags; }
|
||||
|
||||
#if QT_DEPRECATED_SINCE(6, 1)
|
||||
inline bool QWidget::isTopLevel() const
|
||||
{ return (windowType() & Qt::Window); }
|
||||
#endif
|
||||
|
||||
inline bool QWidget::isWindow() const
|
||||
{ return (windowType() & Qt::Window); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user