iOS: Remove unused and duplicated functions from QIOSWindow
Change-Id: I29a2345bddc9ec9577bdc398e4df9914406e5367 QIOSWindow::windowType() is the same as window()->type() Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@digia.com>
This commit is contained in:
parent
e7239e1ce3
commit
31e987f8f0
@ -90,9 +90,6 @@ private:
|
||||
void updateWindowLevel();
|
||||
bool blockedByModal();
|
||||
|
||||
inline Qt::WindowType windowType() { return static_cast<Qt::WindowType>(int(window()->flags() & Qt::WindowType_Mask)); }
|
||||
inline bool windowIsPopup() { return windowType() & Qt::Popup & ~Qt::Window; }
|
||||
|
||||
friend class QIOSScreen;
|
||||
};
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user