mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-12 00:54:20 +02:00
Use clear() to clear text, not a QString().
This commit is contained in:
@@ -676,7 +676,7 @@ void
|
|||||||
TomahawkWindow::onSearch()
|
TomahawkWindow::onSearch()
|
||||||
{
|
{
|
||||||
ViewManager::instance()->show( new SearchWidget( m_searchWidget->searchEdit->text(), this ) );
|
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