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

List:       kde-commits
Subject:    kdepim/kalarm
From:       David Jarvie <software () astrojar ! org ! uk>
Date:       2005-04-10 23:02:48
Message-ID: 20050410230248.1E53963F () office ! kde ! org
[Download RAW message or body]

CVS commit by djarvie: 

Remove unnecessary KDE_VERSION conditionals


  M +0 -2      kalarmapp.cpp   1.168
  M +0 -2      messagewin.cpp   1.110


--- kdepim/kalarm/kalarmapp.cpp  #1.167:1.168
@@ -144,9 +144,7 @@ KAlarmApp::KAlarmApp()
 
         // Check if the speech synthesis daemon is installed
-#if KDE_IS_VERSION(3,3,90)
         mSpeechEnabled = (KTrader::self()->query("DCOP/Text-to-Speech", "Name == \
'KTTSD'").count() > 0);  if (!mSpeechEnabled)
                 kdDebug(5950) << "KAlarmApp::KAlarmApp(): speech synthesis disabled \
                (KTTSD not found)" << endl;
-#endif
 }
 

--- kdepim/kalarm/messagewin.cpp  #1.109:1.110
@@ -717,5 +717,4 @@ void MessageWin::playAudio()
 void MessageWin::slotSpeak()
 {
-#if KDE_IS_VERSION(3,3,90)
         DCOPClient* client = kapp->dcopClient();
         if (!client->isApplicationRegistered("kttsd"))
@@ -738,5 +737,4 @@ void MessageWin::slotSpeak()
                 KMessageBox::detailedError(0, i18n("Unable to speak message"), \
i18n("DCOP call sayMessage failed"));  }
-#endif
 }
 


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

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