summaryrefslogtreecommitdiff
path: root/tests/csgtermtest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'tests/csgtermtest.cc')
-rw-r--r--tests/csgtermtest.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/csgtermtest.cc b/tests/csgtermtest.cc
index a7369e8..4e44f55 100644
--- a/tests/csgtermtest.cc
+++ b/tests/csgtermtest.cc
@@ -38,7 +38,7 @@
#include "Tree.h"
#include "csgterm.h"
-#include <QApplication>
+#include <QCoreApplication>
#ifndef _MSC_VER
#include <getopt.h>
#endif
@@ -71,12 +71,12 @@ int main(int argc, char **argv)
Builtins::instance()->initialize();
- QApplication app(argc, argv, false);
+ QCoreApplication app(argc, argv);
fs::path original_path = fs::current_path();
currentdir = boosty::stringy( fs::current_path() );
- parser_init(QApplication::instance()->applicationDirPath().toStdString());
+ parser_init(QCoreApplication::instance()->applicationDirPath().toStdString());
Context root_ctx;
register_builtin(root_ctx);
contact: Jan Huwald // Impressum