Get rid of warning when building qplatformwindow_qpa.cpp.

This Q_UNUSED was unintentionally lost in 55fa3c189f.

Change-Id: I832ee7c8d46cf66f7b63045015bef181fddebeef
Reviewed-by: Stephen Kelly <stephen.kelly@kdab.com>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Reviewed-by: Robin Burchell <robin+qt@viroteck.net>
This commit is contained in:
Samuel Rødal 2012-04-18 12:28:02 +02:00 committed by Qt by Nokia
parent 4c0289c337
commit 197aa9f67f

View File

@ -147,6 +147,7 @@ QMargins QPlatformWindow::frameMargins() const
*/
void QPlatformWindow::setVisible(bool visible)
{
Q_UNUSED(visible);
QRect rect(QPoint(), geometry().size());
QWindowSystemInterface::handleSynchronousExposeEvent(window(), rect);
}