1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-11 08:34:34 +02:00

Use clear() to clear text, not a QString().

This commit is contained in:
Alejandro Wainzinger
2011-07-21 05:16:09 -07:00
parent 00c122b05c
commit 4ac6c32a45

View File

@@ -676,7 +676,7 @@ void
TomahawkWindow::onSearch()
{
ViewManager::instance()->show( new SearchWidget( m_searchWidget->searchEdit->text(), this ) );
m_searchWidget->searchEdit->setText( QString() );
m_searchWidget->searchEdit->clear();
}