From 0f240fc6ac7b49963dabe105a7883fdd58ab6e28 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Fri, 30 Oct 2015 15:48:35 -0700 Subject: [PATCH] Restructure to prevent shutdown warnings --- src/VehicleSetup/SetupViewTest.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/VehicleSetup/SetupViewTest.cc b/src/VehicleSetup/SetupViewTest.cc index 11d29ba9e..3ab4c6f65 100644 --- a/src/VehicleSetup/SetupViewTest.cc +++ b/src/VehicleSetup/SetupViewTest.cc @@ -63,10 +63,6 @@ void SetupViewTest::_clickThrough_test(void) QTest::qWait(1000); } - // On MainWindow close we should get a message box telling the user to disconnect first. - - setExpectedMessageBox(QGCMessageBox::Yes); - + _disconnectMockLink(); _closeMainWindow(); - checkExpectedMessageBox(); } -- 2.22.0