tests: fix tests to run without x server

This commit is contained in:
Peinthor Rene
2014-09-18 08:05:45 +02:00
parent 98ab683662
commit 0031c0723f

View File

@@ -16,7 +16,7 @@ TestImport::TestImport()
// to work
int argcount = 1;
const char* appname = "sqlb-unittests";
app = new QApplication(argcount, const_cast<char**>(&appname));
app = new QCoreApplication(argcount, const_cast<char**>(&appname));
}
TestImport::~TestImport()