1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-07-31 03:10:12 +02:00

* Ignore empty searches.

This commit is contained in:
Christian Muehlhaeuser
2011-08-04 05:21:33 +02:00
parent 8c3ea50301
commit 9a1ac2f505

View File

@@ -696,6 +696,7 @@ TomahawkWindow::checkForUpdates()
void
TomahawkWindow::onSearch( const QString& search )
{
if ( !search.trimmed().isEmpty() )
ViewManager::instance()->show( new SearchWidget( search, this ) );
}