mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-04-19 15:31:59 +02:00
* Ignore empty searches.
This commit is contained in:
parent
8c3ea50301
commit
9a1ac2f505
@ -696,7 +696,8 @@ TomahawkWindow::checkForUpdates()
|
||||
void
|
||||
TomahawkWindow::onSearch( const QString& search )
|
||||
{
|
||||
ViewManager::instance()->show( new SearchWidget( search, this ) );
|
||||
if ( !search.trimmed().isEmpty() )
|
||||
ViewManager::instance()->show( new SearchWidget( search, this ) );
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user