[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdelibs/arts/knotify
From:       Simon Hausmann <hausmann () kde ! org>
Date:       2003-03-31 17:45:30
[Download RAW message or body]

CVS commit by hausmann: 

- make the useArts flag independent from a possibly configured external
  player. as discussed with the eagle :)


  M +5 -5      knotify.cpp   1.76


--- kdelibs/arts/knotify/knotify.cpp  #1.75:1.76
@@ -369,9 +369,4 @@ bool KNotify::notifyBySound( const QStri
     }
     
-    //If we disabled using aRts, just return, 
-    //(If we don't, we'll blow up accessing the null soundServer)
-    if (!d->useArts)
-        return false;
-    
     bool external = d->useExternal && !d->externalPlayer.isEmpty();
     // get file name
@@ -391,4 +386,9 @@ bool KNotify::notifyBySound( const QStri
 
     if (!external) {
+        //If we disabled using aRts, just return, 
+        //(If we don't, we'll blow up accessing the null soundServer)
+        if (!d->useArts)
+            return false;
+    
         // play sound finally
         while( d->playObjects.count()>5 )


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic