aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorJake Petroules <jake.petroules@petroules.com>2013-01-15 12:25:59 -0500
committerMorten Johan Sørvig <morten.sorvig@digia.com>2013-01-18 14:54:40 +0100
commit69edc40ed1c5af56e082d746379c31f001d1a5da (patch)
tree3a4d13d05d831679b406ca09460bdb532f5ea07c /examples
parentff9ed4603f50fb269f3ae6c8a65c19967d9deb71 (diff)
Correct faulty logic preventing tool buttons from getting selected.
Because this logic is now correct we don't need to artificially trigger the action in our example to get things in motion, either. Change-Id: Ieac7235f2bea95691b32a46dd4f6e076a7d8640a Reviewed-by: Morten Johan Sørvig <morten.sorvig@digia.com>
Diffstat (limited to 'examples')
-rw-r--r--examples/macunifiedtoolbar/preferenceswindow.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/examples/macunifiedtoolbar/preferenceswindow.cpp b/examples/macunifiedtoolbar/preferenceswindow.cpp
index 4855e53..2143a34 100644
--- a/examples/macunifiedtoolbar/preferenceswindow.cpp
+++ b/examples/macunifiedtoolbar/preferenceswindow.cpp
@@ -60,9 +60,6 @@ PreferencesWindow::PreferencesWindow(QWidget *parent) :
// on platforms other than OS X.
::setUnifiedTitleAndToolBarOnMac(ui->toolBar, ui->useNativeToolbarCheckBox->isChecked());
- // Initial setup
- ui->actionGeneral->trigger();
-
QTimer::singleShot(0, this, SLOT(pack()));
}