diff options
author | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-12 13:20:27 (GMT) |
---|---|---|
committer | Qt Continuous Integration System <qt-info@nokia.com> | 2011-05-12 13:20:27 (GMT) |
commit | 41731f324366eb40b96554b0cb980d55854db25f (patch) | |
tree | a2d26dbd78bc33643693fb10132d3fee64af5ed9 /tests/auto/qwizard/tst_qwizard.cpp | |
parent | 5d720a3ff97eef934c8bf61805da4df500f8afa5 (diff) | |
parent | 455440996f659ae246536b7450ba9b7900d015d0 (diff) | |
download | Qt-41731f324366eb40b96554b0cb980d55854db25f.zip Qt-41731f324366eb40b96554b0cb980d55854db25f.tar.gz Qt-41731f324366eb40b96554b0cb980d55854db25f.tar.bz2 |
Merge branch 'master' of git://scm.dev.nokia.troll.no/qt/qt-symbian-team
* 'master' of git://scm.dev.nokia.troll.no/qt/qt-symbian-team: (250 commits)
Disable QtConcurrent for Symbian winscw builds.
Fix loss of focus and activation when hiding a child widget
Symbian build failure for Armv5
update def files
Fix softkeys in case a dialog with softkeys that have icons is closed.
Update softkeys after orientation switch.
ifdef out mac/no_coreservices path more cleanly
fix build on symbian
Provide internal API to avoid automatic translation of input widget
Allow different text for undo actions and items in QUndoView
Allow using not only prefixes for undo command text
QFileSystemEngine::currentPath(): use QFileSystemEntry() also for the no-PATH_MAX case
Massively update the hurd-g++ mkspec.
Sockets: Fix potential null pointer usages
Update QTBUG-17223 for Qt 4.8
Do not allow multiple threads to acquire a QMutex
rebuild configure
fix tst_qnetworkreply::httpProxyCommands autotest
Send User-Agent from the network request in http proxy CONNECT command
QSslConfiguration documentation fix
...
Diffstat (limited to 'tests/auto/qwizard/tst_qwizard.cpp')
-rw-r--r-- | tests/auto/qwizard/tst_qwizard.cpp | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/tests/auto/qwizard/tst_qwizard.cpp b/tests/auto/qwizard/tst_qwizard.cpp index a813727..5667d40 100644 --- a/tests/auto/qwizard/tst_qwizard.cpp +++ b/tests/auto/qwizard/tst_qwizard.cpp @@ -1770,8 +1770,11 @@ public: ~TestWizard() { - foreach (int id, pageIds) - delete page(id); + foreach (int id, pageIds) { + QWizardPage *page_to_delete = page(id); + removePage(id); + delete page_to_delete; + } } void applyOperations(const QList<Operation *> &operations) @@ -2548,8 +2551,8 @@ void tst_QWizard::task177022_setFixedSize() QWizard wiz; QWizardPage page1; QWizardPage page2; - wiz.addPage(&page1); - wiz.addPage(&page2); + int page1_id = wiz.addPage(&page1); + int page2_id = wiz.addPage(&page2); wiz.setFixedSize(width, height); if (wiz.wizardStyle() == QWizard::AeroStyle) QEXPECT_FAIL("", "this probably relates to non-client area hack for AeroStyle titlebar " @@ -2576,6 +2579,8 @@ void tst_QWizard::task177022_setFixedSize() QCOMPARE(wiz.maximumWidth(), width); QCOMPARE(wiz.maximumHeight(), height); + wiz.removePage(page1_id); + wiz.removePage(page2_id); } void tst_QWizard::task248107_backButton() |