From 6af30bfd2f4c7ee15fa2be39ec655cd827f7732f Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Sat, 2 Apr 2011 06:25:16 +0200 Subject: [PATCH] * Cleaned up style. --- src/main.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 02a3ae80d..b5c84dae6 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -39,6 +39,7 @@ main( int argc, char *argv[] ) AEInstallEventHandler( 'GURL', 'GURL', h, 0, false ); #endif + try { TomahawkApp a( argc, argv ); @@ -46,8 +47,8 @@ main( int argc, char *argv[] ) QString locale = QLocale::system().name(); QTranslator translator; - translator.load(QString(":/lang/tomahawk_") + locale); - a.installTranslator(&translator); + translator.load( QString( ":/lang/tomahawk_" ) + locale ); + a.installTranslator( &translator ); return a.exec(); } catch( const std::runtime_error& e )