summaryrefslogtreecommitdiffstats
path: root/kio/tests/kscantest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kio/tests/kscantest.cpp')
-rw-r--r--kio/tests/kscantest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kio/tests/kscantest.cpp b/kio/tests/kscantest.cpp
index 9bc9d2ebc..6e798083c 100644
--- a/kio/tests/kscantest.cpp
+++ b/kio/tests/kscantest.cpp
@@ -3,11 +3,11 @@
int main( int argc, char **argv )
{
- KApplication app( argc, argv, "kscantest" );
+ KApplication app( argc, argv, "kscantest", true, true );
KScanDialog *dlg = KScanDialog::getScanDialog();
if ( !dlg ) {
qDebug("*** EEK, no Scan-service available, aborting!");
- return 0;
+ return EXIT_FAILURE;
}
dlg->show();