From 1a362fa227756ca8355eb0f5a1d32e081a2d303a Mon Sep 17 00:00:00 2001 From: Christian Muehlhaeuser Date: Fri, 3 Oct 2014 00:29:09 +0200 Subject: [PATCH] * Remove dupe include in main.cpp. --- src/tomahawk/main.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tomahawk/main.cpp b/src/tomahawk/main.cpp index 685a5a0cb..14b770f09 100644 --- a/src/tomahawk/main.cpp +++ b/src/tomahawk/main.cpp @@ -34,7 +34,6 @@ static pascal OSErr appleEventHandler( const AppleEvent*, AppleEvent*, long ); #endif -#include "TomahawkSettings.h" #ifdef WITH_CRASHREPORTER #include "libcrashreporter-handler/Handler.h" #endif @@ -167,13 +166,12 @@ main( int argc, char *argv[] ) new TomahawkSettings( &a ); #ifdef WITH_CRASHREPORTER - if( !TomahawkUtils::headless() ) + if ( !TomahawkUtils::headless() ) { handler->setActive( TomahawkSettings::instance()->crashReporterEnabled() ); } #endif - KDSingleApplicationGuard guard( KDSingleApplicationGuard::AutoKillOtherInstances ); QObject::connect( &guard, SIGNAL( instanceStarted( KDSingleApplicationGuard::Instance ) ), &a, SLOT( instanceStarted( KDSingleApplicationGuard::Instance ) ) );