diff --git a/src/plugins/platforms/ios/qioswindow.h b/src/plugins/platforms/ios/qioswindow.h index f7c8f35621..6c52763610 100644 --- a/src/plugins/platforms/ios/qioswindow.h +++ b/src/plugins/platforms/ios/qioswindow.h @@ -90,9 +90,6 @@ private: void updateWindowLevel(); bool blockedByModal(); - inline Qt::WindowType windowType() { return static_cast(int(window()->flags() & Qt::WindowType_Mask)); } - inline bool windowIsPopup() { return windowType() & Qt::Popup & ~Qt::Window; } - friend class QIOSScreen; }; diff --git a/src/plugins/platforms/ios/qioswindow.mm b/src/plugins/platforms/ios/qioswindow.mm index e29ff53876..c6997019e2 100644 --- a/src/plugins/platforms/ios/qioswindow.mm +++ b/src/plugins/platforms/ios/qioswindow.mm @@ -280,7 +280,7 @@ void QIOSWindow::raiseOrLower(bool raise) void QIOSWindow::updateWindowLevel() { - Qt::WindowType type = windowType(); + Qt::WindowType type = window()->type(); if (type == Qt::ToolTip) m_windowLevel = 120;