mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-19 15:29:42 +01:00
Style fixes in TomahawkWindow.
This commit is contained in:
parent
694ed75802
commit
ceeb7ff7c5
@ -1418,13 +1418,17 @@ TomahawkWindow::checkForUpdates()
|
||||
void
|
||||
TomahawkWindow::onSearch( const QString& search )
|
||||
{
|
||||
if ( !search.trimmed().isEmpty() ) {
|
||||
if( search.startsWith( "tomahawk:" ) ) {
|
||||
APP->loadUrl(search);
|
||||
} else {
|
||||
ViewManager::instance()->show( new SearchWidget( search, this ) );
|
||||
}
|
||||
}
|
||||
if ( !search.trimmed().isEmpty() )
|
||||
{
|
||||
if ( search.startsWith( "tomahawk:" ) )
|
||||
{
|
||||
APP->loadUrl( search );
|
||||
}
|
||||
else
|
||||
{
|
||||
ViewManager::instance()->show( new SearchWidget( search, this ) );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user