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:
parent
7efda762da
commit
94cc945aa8
@ -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();
|
||||
}
|
||||
|
||||
/*!
|
||||
|
Loading…
Reference in New Issue
Block a user