summaryrefslogtreecommitdiffstats
path: root/tests/auto/qwidgetaction/tst_qwidgetaction.cpp
diff options
context:
space:
mode:
authorKurt Korbatits <kurt.korbatits@nokia.com>2009-11-10 03:01:07 (GMT)
committerKurt Korbatits <kurt.korbatits@nokia.com>2009-11-10 03:01:07 (GMT)
commit8df98549a4d84b5877e50318140c2041e17632fb (patch)
tree0c55d5ef4d8380ec45c6457a40b033dc45cbd579 /tests/auto/qwidgetaction/tst_qwidgetaction.cpp
parentf55c317e377aaf0b3e24904e88dc1c4a6e15a20a (diff)
parent9a6de1fa0db0da8c4fa5eb904ef6d78cc619e332 (diff)
downloadQt-8df98549a4d84b5877e50318140c2041e17632fb.zip
Qt-8df98549a4d84b5877e50318140c2041e17632fb.tar.gz
Qt-8df98549a4d84b5877e50318140c2041e17632fb.tar.bz2
Merge branch '4.6' of ../qt into 4.6
Diffstat (limited to 'tests/auto/qwidgetaction/tst_qwidgetaction.cpp')
-rw-r--r--tests/auto/qwidgetaction/tst_qwidgetaction.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/auto/qwidgetaction/tst_qwidgetaction.cpp b/tests/auto/qwidgetaction/tst_qwidgetaction.cpp
index 50b3337..d25738f 100644
--- a/tests/auto/qwidgetaction/tst_qwidgetaction.cpp
+++ b/tests/auto/qwidgetaction/tst_qwidgetaction.cpp
@@ -395,7 +395,9 @@ void tst_QWidgetAction::releaseWidgetCrash()
QMainWindow *w = new QMainWindow;
QAction *a = new CrashedAction(w);
QMenu *menu = w->menuBar()->addMenu("Test");
+ menu->addAction("foo");
menu->addAction(a);
+ menu->addAction("bar");
delete w;
}