diff options
Diffstat (limited to 'examples/widgets/painting/transformations/window.cpp')
-rw-r--r-- | examples/widgets/painting/transformations/window.cpp | 8 |
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] |