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:
parent
6774157d8b
commit
b3b1722d1f
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user