summaryrefslogtreecommitdiffstats
path: root/dcop/tests/test.cpp
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2016-09-30 04:23:57 +0300
committerSlávek Banko <slavek.banko@axis.cz>2017-01-29 02:27:15 +0100
commit7f6c0b1c7d39628a7c1f3cc4271f92054fe151eb (patch)
tree8c421c61d2f25e1ab9c9177b71a94bf52e4b7869 /dcop/tests/test.cpp
parent8e14cc0e4a7e0c607bef37828de96b487b07da16 (diff)
downloadtdelibs-7f6c0b1c7d39628a7c1f3cc4271f92054fe151eb.tar.gz
tdelibs-7f6c0b1c7d39628a7c1f3cc4271f92054fe151eb.zip
Make dcop tests run without X
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'dcop/tests/test.cpp')
-rw-r--r--dcop/tests/test.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/dcop/tests/test.cpp b/dcop/tests/test.cpp
index 4a751c358..5665bd6de 100644
--- a/dcop/tests/test.cpp
+++ b/dcop/tests/test.cpp
@@ -31,8 +31,8 @@ int main(int argc, char** argv)
batch();
return 0;
}
- TDECmdLineArgs::init( argc, argv, "TestApp", "Tests the dcop familly of tools + libraries", "1.0" ); // FIXME
- TDEApplication app;
+ TDECmdLineArgs::init( argc, argv, argv[0], "TestApp", "Tests the dcop familly of tools + libraries", "1.0" ); // FIXME
+ TDEApplication app (/*stylesEnabled=*/ false, /*GUIEnabled=*/ false);
if(!app.dcopClient()->attach( ))
return 1;