diff options
author | Daniel Giurcanu <gdanielgwork@googlemail.com> | 2013-12-17 12:30:02 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-12-18 20:29:07 +0100 |
commit | 1e44ff671e3e4f82f0835da6ec7558cfc2a7c4a6 (patch) | |
tree | bfbd26ed0f1afd5b397da39a51cc918777ad7480 /src/plugins/platforms/linuxfb/qlinuxfbintegration.h | |
parent | c8d696eee7d26cb78a75f1476b7ac1b0c2c8f3c5 (diff) |
Fix [Linux]/[Linuxfb] screen initialization.
For the linuxfb platform the screen was registered
before its geometry was calculated resulting that
the qpa controller will deal with a screen instance
that has geometry of QRect(0,0,1,1) .
This masks pretty much all the painting and the input.
The fix is to call screen init before registering
the screen instance to the qpa controller.
Change-Id: If84daca6587dc368301b578cdbf7b2a65a56a5b5
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>
Diffstat (limited to 'src/plugins/platforms/linuxfb/qlinuxfbintegration.h')
-rw-r--r-- | src/plugins/platforms/linuxfb/qlinuxfbintegration.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/linuxfb/qlinuxfbintegration.h b/src/plugins/platforms/linuxfb/qlinuxfbintegration.h index a213f83c6f..965a6e4642 100644 --- a/src/plugins/platforms/linuxfb/qlinuxfbintegration.h +++ b/src/plugins/platforms/linuxfb/qlinuxfbintegration.h @@ -70,6 +70,7 @@ public: private: QLinuxFbScreen *m_primaryScreen; QPlatformFontDatabase *m_fontDb; + }; QT_END_NAMESPACE |