diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2014-01-27 13:39:55 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2014-01-30 12:43:33 +0100 |
commit | dca65cd2bc1a999b81df9d45c317a92651db3f82 (patch) | |
tree | 16e0dcd41a1ce0ae618fd02501f0c8af0ee0c6cb /src/plugins/platforms | |
parent | fd5dd2712656cbc674c8360754394e41dd82e40c (diff) | |
download | qtbase-dca65cd2bc1a999b81df9d45c317a92651db3f82.tar.gz |
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>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp b/src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp index fdec574bce..b1b13e862f 100644 --- a/src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp +++ b/src/plugins/platforms/linuxfb/qlinuxfbintegration.cpp @@ -84,6 +84,7 @@ bool QLinuxFbIntegration::hasCapability(QPlatformIntegration::Capability cap) co { switch (cap) { case ThreadedPixmaps: return true; + case WindowManagement: return false; default: return QPlatformIntegration::hasCapability(cap); } } |