Skip to content

Commit 0031c07

Browse files
committed
tests: fix tests to run without x server
1 parent 98ab683 commit 0031c07

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tests/TestImport.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ TestImport::TestImport()
1616
// to work
1717
int argcount = 1;
1818
const char* appname = "sqlb-unittests";
19-
app = new QApplication(argcount, const_cast<char**>(&appname));
19+
app = new QCoreApplication(argcount, const_cast<char**>(&appname));
2020
}
2121

2222
TestImport::~TestImport()

0 commit comments

Comments
 (0)