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

List:       kde-commits
Subject:    kdebase/konsole/konsole
From:       Kurt Hindenburg <khindenburg () cherrynebula ! net>
Date:       2004-11-16 16:24:59
Message-ID: 20041116162459.39BE316CB7 () office ! kde ! org
[Download RAW message or body]

CVS commit by hindenburg: 

Removes checking of sound system for Bell->System-Notification (BR87664)


  M +0 -14     konsole.cpp   1.488
  M +0 -4      konsole.h   1.187


--- kdebase/konsole/konsole/konsole.cpp  #1.487:1.488
@@ -1360,14 +1360,4 @@ void Konsole::slotTabbarToggleDynamicHid
 }
 
-
-// Check to see if the system-wide sound system is enabled.
-void Konsole::checkSoundSystem()
-{
-  KConfig *arts_config = new KConfig("kcmartsrc");
-  arts_config->setGroup("Arts");
-  b_soundSystemEnabled = arts_config->readBoolEntry("StartServer", true);
-  delete arts_config;
-}
-
 /* ------------------------------------------------------------------------- */
 /*                                                                           */
@@ -1530,8 +1520,4 @@ void Konsole::readProperties(KConfig* co
       n_bell = QMIN(config->readUnsignedNumEntry("bellmode",TEWidget::BELLSYSTEM),3);
 
-      checkSoundSystem();
-      if ( !b_soundSystemEnabled && (n_bell == TEWidget::BELLNOTIFY) )
-         n_bell = TEWidget::BELLSYSTEM;
-
       // Options that should be applied to all sessions /////////////
 

--- kdebase/konsole/konsole/konsole.h  #1.186:1.187
@@ -271,6 +271,4 @@ private:
   bool eventFilter( QObject *o, QEvent *e );
 
-  void checkSoundSystem();
-
   QPtrList<TEWidget> activeTEs();
 
@@ -407,6 +405,4 @@ private:
   bool        b_showstartuptip:1;
 
-  bool        b_soundSystemEnabled;
-
   unsigned int m_histSize;
   int m_separator_id;


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

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