summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJoão Abecasis <joao@trolltech.com>2010-03-01 14:07:02 (GMT)
committerJoão Abecasis <joao@trolltech.com>2010-03-01 14:10:40 (GMT)
commit4be79721e6db9e460d00eb13a0736be8eca36721 (patch)
tree291914ad0f4d7eca78faef8f15e844161e7b66d8 /examples
parent8bbb28f2d5f6a53f94f23f3ac86f5270143795ab (diff)
downloadQt-4be79721e6db9e460d00eb13a0736be8eca36721.zip
Qt-4be79721e6db9e460d00eb13a0736be8eca36721.tar.gz
Qt-4be79721e6db9e460d00eb13a0736be8eca36721.tar.bz2
Fix windowflags example
Diffstat (limited to 'examples')
-rw-r--r--examples/widgets/windowflags/controllerwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/widgets/windowflags/controllerwindow.cpp b/examples/widgets/windowflags/controllerwindow.cpp
index a1e5455..fb82b8f 100644
--- a/examples/widgets/windowflags/controllerwindow.cpp
+++ b/examples/widgets/windowflags/controllerwindow.cpp
@@ -149,7 +149,7 @@ void ControllerWindow::createTypeGroupBox()
splashScreenRadioButton = createRadioButton(tr("Splash screen"));
windowRadioButton->setChecked(true);
- QVBoxLayout *layout = new QGridLayout;
+ QGridLayout *layout = new QGridLayout;
layout->addWidget(windowRadioButton, 0, 0);
layout->addWidget(dialogRadioButton, 1, 0);
layout->addWidget(sheetRadioButton, 2, 0);