diff options
| author | Alexander Golubev <fatzer2@gmail.com> | 2025-08-04 03:32:00 +0300 |
|---|---|---|
| committer | Alexander Golubev <fatzer2@gmail.com> | 2025-08-05 02:03:48 +0300 |
| commit | 8f59af1291a8e2536b311f86e1c0b442e7ad26df (patch) | |
| tree | 0521a7a156eec9b8821206b9b55756b256c8c470 /src/tests/mx2test.cpp | |
| parent | 7b2d5032f9573eaafa300a3159971e37125fd2d9 (diff) | |
| download | krecipes-8f59af12.tar.gz krecipes-8f59af12.zip | |
Fix tests' execution without X11
Note: kretest segfaults without a GUI because it makes use of TQPicture
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
(cherry picked from commit 19201b658c807f6ffa3c9dcaa02c90b38312e2d7)
Diffstat (limited to 'src/tests/mx2test.cpp')
| -rw-r--r-- | src/tests/mx2test.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/mx2test.cpp b/src/tests/mx2test.cpp index 676eb8b..63a9e37 100644 --- a/src/tests/mx2test.cpp +++ b/src/tests/mx2test.cpp @@ -28,7 +28,8 @@ main(int argc, char *argv[]) TDEAboutData *about = new TDEAboutData("mx2test", I18N_NOOP("mx2test"), "1.0", nullptr, TDEAboutData::License_GPL, nullptr, nullptr, nullptr, nullptr); TDECmdLineArgs::init(argc, argv, about); - TDEApplication a; + TDEApplication::disableAutoDcopRegistration(); // will reduce noise when we run without X11 + TDEApplication a(/* allowStyles =*/ false, /* GUIenabled =*/ false); printf("Creating MX2Importer.\n"); MX2Importer importer; |
