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

List:       kde-commits
Subject:    kdemultimedia/juk
From:       Scott Wheeler <wheeler () kde ! org>
Date:       2003-04-17 23:54:36
[Download RAW message or body]

CVS commit by wheeler: 

Heh, this one liner improves startup time by ~20%.  :-)


  M +3 -1      searchwidget.cpp   1.3


--- kdemultimedia/juk/searchwidget.cpp  #1.2:1.3
@@ -62,4 +62,6 @@ bool SearchWidget::caseSensitive() const
 void SearchWidget::clear()
 {
+    // We don't want to emit the signal if it's already empty.
+    if(!m_lineEdit->text().isEmpty())
     m_lineEdit->clear();
 }


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

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