summaryrefslogtreecommitdiffstats
path: root/src/tests/kretest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/kretest.cpp')
-rw-r--r--src/tests/kretest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/kretest.cpp b/src/tests/kretest.cpp
index 93c1e1e..9b48e74 100644
--- a/src/tests/kretest.cpp
+++ b/src/tests/kretest.cpp
@@ -28,8 +28,8 @@ main(int argc, char *argv[])
TDEAboutData *about = new TDEAboutData("kretest", I18N_NOOP("kretest"), "1.0",
nullptr, TDEAboutData::License_GPL, nullptr, nullptr, nullptr, nullptr);
TDECmdLineArgs::init(argc, argv, about);
- // The test needs GUI for TQPixmap
- TDEApplication a;
+ TDEApplication::disableAutoDcopRegistration(); // will reduce noise when we run without X11
+ TDEApplication a(/* allowStyles =*/ false, /* GUIenabled =*/ false);
printf("Creating KreImporter.\n");
KreImporter importer;