diff --git a/src/gui/unit_tests/newClusterDialogTest/newClusterDialogTest.cpp b/src/gui/unit_tests/newClusterDialogTest/newClusterDialogTest.cpp index eb5bf08b9..e5409d135 100644 --- a/src/gui/unit_tests/newClusterDialogTest/newClusterDialogTest.cpp +++ b/src/gui/unit_tests/newClusterDialogTest/newClusterDialogTest.cpp @@ -57,7 +57,8 @@ void newClusterDialogTest::test1() } dialog->setFirewallList(fws); - dialog->open(); + dialog->setModal(false); + dialog->show(); QStringList dfws = dialog->getFirewallList(); QVERIFY(dfws.count() == fws.size()); @@ -183,7 +184,8 @@ void newClusterDialogTest::test2() } dialog->setFirewallList(fws); - dialog->open(); + dialog->setModal(false); + dialog->show(); QStringList dfws = dialog->getFirewallList(); QVERIFY(dfws.count() == fws.size()); diff --git a/src/gui/unit_tests/newClusterDialogTest/newClusterDialogTest.pro b/src/gui/unit_tests/newClusterDialogTest/newClusterDialogTest.pro index 644b85ca2..fa1ef21aa 100644 --- a/src/gui/unit_tests/newClusterDialogTest/newClusterDialogTest.pro +++ b/src/gui/unit_tests/newClusterDialogTest/newClusterDialogTest.pro @@ -181,7 +181,11 @@ SOURCES += main.cpp \ ../../ClusterInterfacesSelectorWidget.cpp \ ../../ClusterInterfaceWidget.cpp \ ../../FWCmdRule.cpp \ - ../../UsageResolver.cpp + ../../UsageResolver.cpp \ + ../../IconSetter.cpp \ + ../../TutorialDialog.cpp \ + ../../TutorialAnimator.cpp \ + ../../TutorialHelper.cpp HEADERS += newClusterDialogTest.h \ ../../../../config.h \ @@ -341,7 +345,11 @@ HEADERS += newClusterDialogTest.h \ ../../ClusterInterfacesSelectorWidget.h \ ../../ClusterInterfaceWidget.h \ ../../FWCmdRule.h \ - ../../UsageResolver.h + ../../UsageResolver.h \ + ../../IconSetter.h \ + ../../TutorialDialog.h \ + ../../TutorialAnimator.h \ + ../../TutorialHelper.h CONFIG -= release CONFIG += debug