Fix deprecation warning about QPlatformWindow::visible

The proper getter name of a boolean property is prefixed with is-.

Change-Id: Id1fae9ccd11db3e92903c51012bbe75d52726a5a
Reviewed-by: Samuel Rødal <samuel.rodal@nokia.com>
This commit is contained in:
Thiago Macieira 2012-03-01 17:18:17 +01:00 committed by Qt by Nokia
parent 7efda762da
commit 94cc945aa8

View File

@ -168,7 +168,7 @@ Qt::WindowFlags QPlatformWindow::setWindowFlags(Qt::WindowFlags flags)
bool QPlatformWindow::isExposed() const
{
Q_D(const QPlatformWindow);
return d->window->visible();
return d->window->isVisible();
}
/*!