mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-07 06:36:55 +02:00
* Ignore empty searches.
This commit is contained in:
@@ -696,7 +696,8 @@ TomahawkWindow::checkForUpdates()
|
|||||||
void
|
void
|
||||||
TomahawkWindow::onSearch( const QString& search )
|
TomahawkWindow::onSearch( const QString& search )
|
||||||
{
|
{
|
||||||
ViewManager::instance()->show( new SearchWidget( search, this ) );
|
if ( !search.trimmed().isEmpty() )
|
||||||
|
ViewManager::instance()->show( new SearchWidget( search, this ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user