Commit 124a791a authored by Scott Wheeler's avatar Scott Wheeler
Browse files

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

svn path=/trunk/kdemultimedia/juk/; revision=220755
parent 492b65bd
......@@ -61,7 +61,9 @@ bool SearchWidget::caseSensitive() const
void SearchWidget::clear()
{
m_lineEdit->clear();
// We don't want to emit the signal if it's already empty.
if(!m_lineEdit->text().isEmpty())
m_lineEdit->clear();
}
void SearchWidget::slotQueryChanged(int)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment