summaryrefslogtreecommitdiffstats
path: root/tdeio/tests/kscantest.cpp
diff options
context:
space:
mode:
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();