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:
@@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user