summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexis Menard <alexis.menard@nokia.com>2009-10-22 16:11:19 (GMT)
committerAlexis Menard <alexis.menard@nokia.com>2009-10-22 16:17:53 (GMT)
commit82caa7b3f97c6cda0ebceb477856442653a83699 (patch)
treedbbb8435aa4db77141b3f9686dc2c0bc3a4196d4
parent44aa15a08dd8e7e1ea428fd8868a8e531f5ba4d9 (diff)
downloadQt-82caa7b3f97c6cda0ebceb477856442653a83699.zip
Qt-82caa7b3f97c6cda0ebceb477856442653a83699.tar.gz
Qt-82caa7b3f97c6cda0ebceb477856442653a83699.tar.bz2
Warning --
Reviewed-by:TrustMe
-rw-r--r--src/gui/graphicsview/qgraphicsproxywidget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/graphicsview/qgraphicsproxywidget.cpp b/src/gui/graphicsview/qgraphicsproxywidget.cpp
index 64c51ad..e9173a9 100644
--- a/src/gui/graphicsview/qgraphicsproxywidget.cpp
+++ b/src/gui/graphicsview/qgraphicsproxywidget.cpp
@@ -397,7 +397,7 @@ QWidget *QGraphicsProxyWidgetPrivate::findFocusChild(QWidget *child, bool next)
do {
if (child->isEnabled()
&& child->isVisibleTo(widget)
- && (child->focusPolicy() & focus_flag == focus_flag)
+ && ((child->focusPolicy() & focus_flag) == focus_flag)
&& !(child->d_func()->extra && child->d_func()->extra->focus_proxy)) {
return child;
}