aboutsummaryrefslogtreecommitdiffstats
path: root/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp
diff options
context:
space:
mode:
authorLaszlo Agocs <laszlo.agocs@digia.com>2014-07-08 17:53:11 +0200
committerLaszlo Agocs <laszlo.agocs@digia.com>2014-07-09 12:41:51 +0200
commite1fbfc0156db55cb5d462a15e6142db097e8a61f (patch)
tree740fdbdf778bb813b3a7b46f91e40c4013824d23 /examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp
parentf7e5dcd2b331a850bbc1a6e9fb7394b84152c289 (diff)
Change default to QQuickWidget in the comparison example
This way the example will run on embedded devices (eglfs)out of the box and will only abort when switching to QQuickView. Change-Id: I07855ac1a9d112f868adf6fcab8db888ba0888ec Reviewed-by: Jørgen Lind <jorgen.lind@digia.com>
Diffstat (limited to 'examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp')
-rw-r--r--examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp b/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp
index dbf4121518..a8b5ecfdc3 100644
--- a/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp
+++ b/examples/quick/quickwidgets/qquickviewcomparison/mainwindow.cpp
@@ -59,7 +59,7 @@ MainWindow::MainWindow()
m_radioWidget = new QRadioButton(tr("QQuickWidget (indirect through framebuffer objects)"));
vbox->addWidget(m_radioView);
vbox->addWidget(m_radioWidget);
- m_radioView->setChecked(true);
+ m_radioWidget->setChecked(true);
connect(m_radioView, &QRadioButton::toggled, this, &MainWindow::updateView);
connect(m_radioWidget, &QRadioButton::toggled, this, &MainWindow::updateView);
groupBox->setLayout(vbox);