From dae8d2505d6b6c591429768c10ae3ca190679d41 Mon Sep 17 00:00:00 2001 From: David Schulz Date: Fri, 23 Nov 2012 09:31:03 +0100 Subject: QtBase: examples/widgets/graphicsview/ codestyle Change-Id: I501066b5eb5a1557d510e0ec20b5270e8c12704a Reviewed-by: hjk --- examples/widgets/graphicsview/chip/view.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'examples/widgets/graphicsview/chip/view.cpp') diff --git a/examples/widgets/graphicsview/chip/view.cpp b/examples/widgets/graphicsview/chip/view.cpp index 56ad17b9e8..cb83175744 100644 --- a/examples/widgets/graphicsview/chip/view.cpp +++ b/examples/widgets/graphicsview/chip/view.cpp @@ -41,7 +41,6 @@ #include "view.h" -#include #ifndef QT_NO_PRINTER #include #include @@ -178,8 +177,10 @@ View::View(const QString &name, QWidget *parent) connect(resetButton, SIGNAL(clicked()), this, SLOT(resetView())); connect(zoomSlider, SIGNAL(valueChanged(int)), this, SLOT(setupMatrix())); connect(rotateSlider, SIGNAL(valueChanged(int)), this, SLOT(setupMatrix())); - connect(graphicsView->verticalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(setResetButtonEnabled())); - connect(graphicsView->horizontalScrollBar(), SIGNAL(valueChanged(int)), this, SLOT(setResetButtonEnabled())); + connect(graphicsView->verticalScrollBar(), SIGNAL(valueChanged(int)), + this, SLOT(setResetButtonEnabled())); + connect(graphicsView->horizontalScrollBar(), SIGNAL(valueChanged(int)), + this, SLOT(setResetButtonEnabled())); connect(selectModeButton, SIGNAL(toggled(bool)), this, SLOT(togglePointerMode())); connect(dragModeButton, SIGNAL(toggled(bool)), this, SLOT(togglePointerMode())); connect(antialiasButton, SIGNAL(toggled(bool)), this, SLOT(toggleAntialiasing())); @@ -276,4 +277,3 @@ void View::rotateRight() { rotateSlider->setValue(rotateSlider->value() + 10); } - -- cgit v1.2.3