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:
Tor Arne Vestbø 2014-10-15 15:52:47 +02:00
parent e7239e1ce3
commit 31e987f8f0
2 changed files with 1 additions and 4 deletions

View File

@ -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;
};

View File

@ -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;