winrt: Fix capabilities query.

Windows Runtime port supports non-fullscreen and multiple windows.

Change-Id: I6f4791a7c329ece88e5f6f9910f3635a7bfef3f8
Reviewed-by: Andrew Knight <andrew.knight@intopalo.com>
This commit is contained in:
Samuel Nevala 2015-09-10 12:17:44 +03:00 committed by Frederik Gladhorn
parent 6774157d8b
commit b3b1722d1f

View File

@ -188,9 +188,9 @@ bool QWinRTIntegration::hasCapability(QPlatformIntegration::Capability cap) cons
case ThreadedPixmaps: case ThreadedPixmaps:
case OpenGL: case OpenGL:
case ApplicationState: case ApplicationState:
return true;
case NonFullScreenWindows: case NonFullScreenWindows:
return false; case MultipleWindows:
return true;
default: default:
return QPlatformIntegration::hasCapability(cap); return QPlatformIntegration::hasCapability(cap);
} }