winrt: fix typo
Change-Id: I621043b6be797e250fd2cd17de22a18d8773b01c Reviewed-by: Oliver Wolff <oliver.wolff@theqtcompany.com>
This commit is contained in:
parent
6c70751013
commit
c88939ab05
@ -1169,7 +1169,7 @@ HRESULT QWinRTScreen::onVisibilityChanged(ICoreWindow *, IVisibilityChangedEvent
|
|||||||
Q_D(QWinRTScreen);
|
Q_D(QWinRTScreen);
|
||||||
boolean visible;
|
boolean visible;
|
||||||
HRESULT hr = args ? args->get_Visible(&visible) : d->coreWindow->get_Visible(&visible);
|
HRESULT hr = args ? args->get_Visible(&visible) : d->coreWindow->get_Visible(&visible);
|
||||||
RETURN_OK_IF_FAILED("Failed to get visbile.");
|
RETURN_OK_IF_FAILED("Failed to get visibility.");
|
||||||
QWindowSystemInterface::handleApplicationStateChanged(visible ? Qt::ApplicationActive : Qt::ApplicationHidden);
|
QWindowSystemInterface::handleApplicationStateChanged(visible ? Qt::ApplicationActive : Qt::ApplicationHidden);
|
||||||
if (visible)
|
if (visible)
|
||||||
handleExpose();
|
handleExpose();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user