From b82ed5c5251ed59a8bc310d1625e9e932945242c Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 25 Dec 2013 15:17:37 -0800 Subject: [PATCH] Allow AutoTests to bring up UI I have UI based unit tests coming, so getting ready for that --- src/qgcunittest/AutoTest.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qgcunittest/AutoTest.h b/src/qgcunittest/AutoTest.h index 892d81427..b118d7fc2 100755 --- a/src/qgcunittest/AutoTest.h +++ b/src/qgcunittest/AutoTest.h @@ -51,7 +51,7 @@ namespace AutoTest inline int run(int argc, char *argv[]) { int ret = 0; - QCoreApplication t(argc, argv); + QApplication t(argc, argv); foreach (QObject* test, testList()) { ret += QTest::qExec(test, argc, argv); -- 2.22.0