diff options
author | Alexander Golubev <[email protected]> | 2016-12-21 01:09:27 +0300 |
---|---|---|
committer | Slávek Banko <[email protected]> | 2017-01-29 02:48:50 +0100 |
commit | 86921d65c5c218a2c721d905a93885cf2fe9b7b7 (patch) | |
tree | 617bb19f28f8fbff084e9d58ada0e037edb861e1 /tdeio/tests/kdcopcheck.cpp | |
parent | de48b4a218391da82d8bb725e5b8cb3038155065 (diff) | |
download | tdelibs-86921d65c5c218a2c721d905a93885cf2fe9b7b7.tar.gz tdelibs-86921d65c5c218a2c721d905a93885cf2fe9b7b7.zip |
tdeio: add tests
Signed-off-by: Alexander Golubev <[email protected]>
(cherry picked from commit ed74769bfaae171809c0bc1a10a8ba0f6ff8895f)
Diffstat (limited to 'tdeio/tests/kdcopcheck.cpp')
-rw-r--r-- | tdeio/tests/kdcopcheck.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/tdeio/tests/kdcopcheck.cpp b/tdeio/tests/kdcopcheck.cpp index 5f1ad611a..e99de7e79 100644 --- a/tdeio/tests/kdcopcheck.cpp +++ b/tdeio/tests/kdcopcheck.cpp @@ -90,14 +90,14 @@ int TestService::exec() int main(int argc, char *argv[]) { - putenv("IGNORE_SYCOCA_VERSION=true"); - TDEApplication k(argc,argv,"whatever",false/*noGUI*/); // KMessageBox needs KApp for makeStdCaption + setenv("IGNORE_SYCOCA_VERSION", "true", true); + TDEApplication k(argc,argv,"whatever",false/*nostyle*/,false/*noGUI*/); // KMessageBox needs KApp for makeStdCaption k.dcopClient()->setNotifications(true); KService::List list = KService::allServices(); - tqWarning("I found %d services.", list.count()); + tqWarning("I found %ld services.", list.count()); int i = 0; for(KService::List::ConstIterator it = list.begin(); it != list.end(); ++it) { |