aboutsummaryrefslogtreecommitdiffstats
path: root/x11/kdebase4-runtime/files/patch-kcontrol-arts.cpp
blob: df11b254f150ddfc28a896a5a32657b098cf594f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
--- kcontrol/arts/arts.cpp.orig Fri Mar  5 12:15:10 2004
+++ kcontrol/arts/arts.cpp  Fri Mar  5 12:08:16 2004
@@ -541,13 +541,13 @@
 
    connect(checkProcess, SIGNAL(processExited(KProcess*)),
            this, SLOT(slotArtsdExited(KProcess*)));
-   checkProcess->start(KProcess::Block);
-
-   if (latestProcessStatus == 0)
+   if (checkProcess->start(KProcess::Block) == false)
+       realtimePossible =  false;
+   else if (latestProcessStatus == 0)
        realtimePossible =  true;
    else
        realtimePossible =  false;
-   
+
    checked = true;
    
    }