From ceeb7ff7c51db384cd1a271c1d8d88eb44c6bb27 Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sun, 12 Oct 2014 12:21:46 +0200 Subject: [PATCH] Style fixes in TomahawkWindow. --- src/tomahawk/TomahawkWindow.cpp | 18 +++++++++++------- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/src/tomahawk/TomahawkWindow.cpp b/src/tomahawk/TomahawkWindow.cpp index 3b7401e1f..fae7377d6 100644 --- a/src/tomahawk/TomahawkWindow.cpp +++ b/src/tomahawk/TomahawkWindow.cpp @@ -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 ) ); + } + } }