summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorQt Continuous Integration System <qt-info@nokia.com>2010-12-21 07:43:56 (GMT)
committerQt Continuous Integration System <qt-info@nokia.com>2010-12-21 07:43:56 (GMT)
commitea48f884704162265791aa14c5d3e1ef4f8ddb4e (patch)
tree0451615f44506195f3f730a24e2d5227e97ed6f1 /src
parent5b445e21bae38b6b82e2e19603df983303a45547 (diff)
parentcb44818623d10d5d6a9f49ddf5651351ebe55f67 (diff)
downloadQt-ea48f884704162265791aa14c5d3e1ef4f8ddb4e.zip
Qt-ea48f884704162265791aa14c5d3e1ef4f8ddb4e.tar.gz
Qt-ea48f884704162265791aa14c5d3e1ef4f8ddb4e.tar.bz2
Merge branch 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2 into master-integration
* 'master' of scm.dev.nokia.troll.no:qt/oslo-staging-2: Fix the redirection of painting for the toolbar.
Diffstat (limited to 'src')
-rw-r--r--src/gui/painting/qunifiedtoolbarsurface_mac.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gui/painting/qunifiedtoolbarsurface_mac.cpp b/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
index ace0a46..02ba8db 100644
--- a/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
+++ b/src/gui/painting/qunifiedtoolbarsurface_mac.cpp
@@ -83,11 +83,11 @@ void QUnifiedToolbarSurface::recursiveRedirect(QObject *object, const QPoint &of
widget->d_func()->unifiedSurface = this;
widget->d_func()->isInUnifiedToolbar = true;
widget->d_func()->toolbar_offset = offset;
- }
- }
- for (int i = 0; i < object->children().size(); ++i) {
- recursiveRedirect(object->children().at(i), offset);
+ for (int i = 0; i < object->children().size(); ++i) {
+ recursiveRedirect(object->children().at(i), offset);
+ }
+ }
}
}
}