summaryrefslogtreecommitdiffstats
path: root/examples/widgets/painting/transformations/window.cpp
diff options
context:
space:
mode:
authorDavid Schulz <david.schulz@digia.com>2012-11-23 11:52:51 +0100
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-11-23 17:04:00 +0100
commitcbf3771e86272c10519394627784d6c1088f3a3b (patch)
treef526458bba0f2c5fe8ae1c05b678d9966a4eaf77 /examples/widgets/painting/transformations/window.cpp
parent92724e533d13f56d359122d7d83ddc2316a75ef8 (diff)
QtBase: examples/widgets/painting code style
Change-Id: I3d3c6f3bae20ac8383279437f8f89c92195a704f Reviewed-by: hjk <qthjk@ovi.com>
Diffstat (limited to 'examples/widgets/painting/transformations/window.cpp')
-rw-r--r--examples/widgets/painting/transformations/window.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/widgets/painting/transformations/window.cpp b/examples/widgets/painting/transformations/window.cpp
index dbbed9fd44..beb9a3e975 100644
--- a/examples/widgets/painting/transformations/window.cpp
+++ b/examples/widgets/painting/transformations/window.cpp
@@ -38,10 +38,11 @@
**
****************************************************************************/
-#include <QtWidgets>
-
#include "window.h"
+#include <QComboBox>
+#include <QGridLayout>
+
//! [0]
Window::Window()
{
@@ -148,8 +149,7 @@ void Window::setupShapes()
shapes.append(text);
shapes.append(truck);
- connect(shapeComboBox, SIGNAL(activated(int)),
- this, SLOT(shapeSelected(int)));
+ connect(shapeComboBox, SIGNAL(activated(int)), this, SLOT(shapeSelected(int)));
}
//! [7]