diff options
author | Alexander Golubev <[email protected]> | 2016-09-30 04:23:57 +0300 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2017-01-29 02:48:49 +0100 |
commit | b08c1db715142a86460160f794f8ca0f22d8bc63 (patch) | |
tree | 59ca5abe3d7e2bd27db5205ed1a0cbcb331c0425 /dcop/tests/driver.cpp | |
parent | f0086b0e393e8510af398f67bb7484e9fd754fbe (diff) | |
download | tdelibs-b08c1db715142a86460160f794f8ca0f22d8bc63.tar.gz tdelibs-b08c1db715142a86460160f794f8ca0f22d8bc63.zip |
Make dcop tests run without X
Signed-off-by: Alexander Golubev <[email protected]>
(cherry picked from commit 7f6c0b1c7d39628a7c1f3cc4271f92054fe151eb)
Diffstat (limited to 'dcop/tests/driver.cpp')
-rw-r--r-- | dcop/tests/driver.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dcop/tests/driver.cpp b/dcop/tests/driver.cpp index 73a98fc0d..a129d7d6f 100644 --- a/dcop/tests/driver.cpp +++ b/dcop/tests/driver.cpp @@ -53,8 +53,8 @@ int main(int argc, char** argv) if ( argc < 2 ) { tqWarning("Usage: driver <appid>"); return 1; } const char* appname = strdup( argv[ 1 ] ); argv[ 1 ] = 0; // sue me - TDECmdLineArgs::init( argc, argv, "TestAppDriver", "Tests the dcop familly of tools + libraries", "1.0" ); // FIXME - TDEApplication app; + TDECmdLineArgs::init( argc, argv, argv[1], "TestAppDriver", "Tests the dcop familly of tools + libraries", "1.0" ); // FIXME + TDEApplication app (/*stylesEnabled=*/ false, /*GUIEnabled=*/ false); app.dcopClient()->attach( ); app.dcopClient()->registerAs( "TestAppDriver" ); Driver * object = new Driver( appname ); |