summaryrefslogtreecommitdiffstats
path: root/tools/qtconfig/previewwidget.cpp
diff options
context:
space:
mode:
authorBoris Moiseev <cyberbobs@gmail.com>2010-10-06 13:51:31 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-10-06 13:51:31 (GMT)
commit24ea581ffff713a591157b6ca3d4749824020a0a (patch)
tree2caf7cfbe729c60e505b5483059e5f76bf77e215 /tools/qtconfig/previewwidget.cpp
parent0ece9b7f45e2cda9dfeb8dbab9b51ad39433c07e (diff)
downloadQt-24ea581ffff713a591157b6ca3d4749824020a0a.zip
Qt-24ea581ffff713a591157b6ca3d4749824020a0a.tar.gz
Qt-24ea581ffff713a591157b6ca3d4749824020a0a.tar.bz2
Removed more legacy code from qtconfig and fixed codestyle issues
Merge-request: 2286 Reviewed-by: Benjamin Poulain <benjamin.poulain@nokia.com>
Diffstat (limited to 'tools/qtconfig/previewwidget.cpp')
-rw-r--r--tools/qtconfig/previewwidget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/qtconfig/previewwidget.cpp b/tools/qtconfig/previewwidget.cpp
index 9fa9591..abbf669 100644
--- a/tools/qtconfig/previewwidget.cpp
+++ b/tools/qtconfig/previewwidget.cpp
@@ -50,8 +50,8 @@ PreviewWidget::PreviewWidget(QWidget *parent)
setupUi(this);
// install event filter on child widgets
- QList<QWidget*> l = findChildren<QWidget*>();
- foreach(QWidget* w, l) {
+ QList<QWidget *> l = findChildren<QWidget*>();
+ foreach(QWidget *w, l) {
w->installEventFilter(this);
w->setFocusPolicy(Qt::NoFocus);
}