diff options
author | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-30 08:41:46 (GMT) |
---|---|---|
committer | Samuel Rødal <samuel.rodal@nokia.com> | 2011-03-30 08:59:28 (GMT) |
commit | 9507cbffb31b5ee4bfd9b4d2584406a2346fb668 (patch) | |
tree | dd99fe7da87f525d610f5eb34cf06504a920d1a0 /src/plugins/graphicssystems/meego | |
parent | 004989ce2e6a014df39ebbb30dccda88705ded8f (diff) | |
download | Qt-9507cbffb31b5ee4bfd9b4d2584406a2346fb668.zip Qt-9507cbffb31b5ee4bfd9b4d2584406a2346fb668.tar.gz Qt-9507cbffb31b5ee4bfd9b4d2584406a2346fb668.tar.bz2 |
Fixed not switching to MeeGo graphicssystem.
If two windows become maximized at once we might not switch, this is an
attempt at fixing that.
Reviewed-by: Armin Berres
Diffstat (limited to 'src/plugins/graphicssystems/meego')
-rw-r--r-- | src/plugins/graphicssystems/meego/qmeegographicssystem.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp b/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp index c904c3c..69a6922 100644 --- a/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp +++ b/src/plugins/graphicssystems/meego/qmeegographicssystem.cpp @@ -170,7 +170,7 @@ bool QMeeGoGraphicsSystemSwitchHandler::eventFilter(QObject *object, QEvent *eve if (visibleWidgets() == 0) QMeeGoGraphicsSystem::switchToRaster(); } else { - if (visibleWidgets() == 1) + if (visibleWidgets() > 0) QMeeGoGraphicsSystem::switchToMeeGo(); } } |