summaryrefslogtreecommitdiffstats
path: root/tdeio/tests/kscantest.cpp
diff options
context:
space:
mode:
authorAlexander Golubev <fatzer2@gmail.com>2016-12-21 01:09:27 +0300
committerSlávek Banko <slavek.banko@axis.cz>2017-01-29 02:27:15 +0100
commited74769bfaae171809c0bc1a10a8ba0f6ff8895f (patch)
tree2be1a9e1f24c538b0f682e733794336f6fe54193 /tdeio/tests/kscantest.cpp
parentd556a8752c0862aa2d84a105dc8ac41b61ba7824 (diff)
downloadtdelibs-ed74769bfaae171809c0bc1a10a8ba0f6ff8895f.tar.gz
tdelibs-ed74769bfaae171809c0bc1a10a8ba0f6ff8895f.zip
tdeio: add tests
Signed-off-by: Alexander Golubev <fatzer2@gmail.com>
Diffstat (limited to 'tdeio/tests/kscantest.cpp')
-rw-r--r--tdeio/tests/kscantest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeio/tests/kscantest.cpp b/tdeio/tests/kscantest.cpp
index d37f2eb97..f28635c1c 100644
--- a/tdeio/tests/kscantest.cpp
+++ b/tdeio/tests/kscantest.cpp
@@ -3,11 +3,11 @@
int main( int argc, char **argv )
{
- TDEApplication app( argc, argv, "kscantest" );
+ TDEApplication app( argc, argv, "kscantest", true, true );
KScanDialog *dlg = KScanDialog::getScanDialog();
if ( !dlg ) {
tqDebug("*** EEK, no Scan-service available, aborting!");
- return 0;
+ return EXIT_FAILURE;
}
dlg->show();