QNX: Silenced propagateSizeHints warning

On QNX propagateSizeHints is ignored. Default base class implementation
is overridden to silence warning.

Change-Id: I6c2df5e1943fdc1170c772b9bb4feb091726790f
Reviewed-by: Fabian Bumberger <fbumberger@rim.com>
Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
This commit is contained in:
Bernd Weimer 2013-06-17 11:48:59 +02:00 committed by The Qt Project
parent 7dbe4df27b
commit ab20b499d8
2 changed files with 8 additions and 0 deletions

View File

@ -647,6 +647,12 @@ void QQnxWindow::setWindowState(Qt::WindowState state)
applyWindowState();
}
void QQnxWindow::propagateSizeHints()
{
// nothing to do; silence base class warning
qWindowDebug() << Q_FUNC_INFO << ": ignored";
}
void QQnxWindow::gainedFocus()
{
qWindowDebug() << Q_FUNC_INFO << "window =" << window();

View File

@ -103,6 +103,8 @@ public:
void requestActivateWindow();
void setWindowState(Qt::WindowState state);
void propagateSizeHints();
void gainedFocus();
QQnxScreen *screen() const { return m_screen; }