summaryrefslogtreecommitdiffstats
path: root/tools/qtconfig/previewwidget.cpp
diff options
context:
space:
mode:
authorBoris Moiseev <cyberbobs@gmail.com>2010-10-06 13:51:36 (GMT)
committerBenjamin Poulain <benjamin.poulain@nokia.com>2010-10-06 13:51:36 (GMT)
commit55f7ab61482cbfdf93ab25e409649ecea9bcdb0e (patch)
tree899135b2cae9875314396f005a9680e9560a9ca4 /tools/qtconfig/previewwidget.cpp
parent31ea34d217e28f83cf868c76a998d61a846385e6 (diff)
downloadQt-55f7ab61482cbfdf93ab25e409649ecea9bcdb0e.zip
Qt-55f7ab61482cbfdf93ab25e409649ecea9bcdb0e.tar.gz
Qt-55f7ab61482cbfdf93ab25e409649ecea9bcdb0e.tar.bz2
Resolved some code style issues and fixed the broken copyright year
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 abbf669..4a4a580 100644
--- a/tools/qtconfig/previewwidget.cpp
+++ b/tools/qtconfig/previewwidget.cpp
@@ -50,7 +50,7 @@ PreviewWidget::PreviewWidget(QWidget *parent)
setupUi(this);
// install event filter on child widgets
- QList<QWidget *> l = findChildren<QWidget*>();
+ QList<QWidget *> l = findChildren<QWidget *>();
foreach(QWidget *w, l) {
w->installEventFilter(this);
w->setFocusPolicy(Qt::NoFocus);
@@ -66,7 +66,7 @@ void PreviewWidget::closeEvent(QCloseEvent *e)
bool PreviewWidget::eventFilter(QObject *, QEvent *e)
{
- switch ( e->type() ) {
+ switch (e->type()) {
case QEvent::MouseButtonPress:
case QEvent::MouseButtonRelease:
case QEvent::MouseButtonDblClick: