linuxfb: Report WindowManagement capability as false

Just like eglfs does. This will result in dialogs, like file dialogs,
showing up properly centered on the screen.

Change-Id: I2682c7792e4bc66773e31f602a4bee4cf525a6a1
Reviewed-by: Andy Nichols <andy.nichols@digia.com>
This commit is contained in:
Laszlo Agocs 2014-01-27 13:39:55 +01:00 committed by The Qt Project
parent fd5dd27126
commit dca65cd2bc

View File

@ -84,6 +84,7 @@ bool QLinuxFbIntegration::hasCapability(QPlatformIntegration::Capability cap) co
{ {
switch (cap) { switch (cap) {
case ThreadedPixmaps: return true; case ThreadedPixmaps: return true;
case WindowManagement: return false;
default: return QPlatformIntegration::hasCapability(cap); default: return QPlatformIntegration::hasCapability(cap);
} }
} }