summaryrefslogtreecommitdiff
path: root/x11/kdelibs3/files/patch-kio_kioexec-main.cpp
blob: 134d8d1660ebe14c2b646664ceba1bbf2ec35904 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- kio/kioexec/main.cpp.orig	Sun Oct 23 18:39:26 2005
+++ kio/kioexec/main.cpp	Sun Oct 23 18:40:10 2005
@@ -124,8 +124,12 @@
     }
     args->clear();
 
-    if ( tempfiles )
-        slotRunApp(); // does not return
+    if ( tempfiles ) {
+        // #113991
+        QTimer::singleShot( 0, this, SLOT( slotRunApp() ) );
+        //slotRunApp(); // does not return
+        return;
+    }
 
     counter = 0;
     if ( counter == expectedCounter )