1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-06 14:16:32 +02:00

* Remove dupe include in main.cpp.

This commit is contained in:
Christian Muehlhaeuser
2014-10-03 00:29:09 +02:00
parent 7758cbb91f
commit 1a362fa227

View File

@@ -34,7 +34,6 @@
static pascal OSErr appleEventHandler( const AppleEvent*, AppleEvent*, long ); static pascal OSErr appleEventHandler( const AppleEvent*, AppleEvent*, long );
#endif #endif
#include "TomahawkSettings.h"
#ifdef WITH_CRASHREPORTER #ifdef WITH_CRASHREPORTER
#include "libcrashreporter-handler/Handler.h" #include "libcrashreporter-handler/Handler.h"
#endif #endif
@@ -167,13 +166,12 @@ main( int argc, char *argv[] )
new TomahawkSettings( &a ); new TomahawkSettings( &a );
#ifdef WITH_CRASHREPORTER #ifdef WITH_CRASHREPORTER
if( !TomahawkUtils::headless() ) if ( !TomahawkUtils::headless() )
{ {
handler->setActive( TomahawkSettings::instance()->crashReporterEnabled() ); handler->setActive( TomahawkSettings::instance()->crashReporterEnabled() );
} }
#endif #endif
KDSingleApplicationGuard guard( KDSingleApplicationGuard::AutoKillOtherInstances ); KDSingleApplicationGuard guard( KDSingleApplicationGuard::AutoKillOtherInstances );
QObject::connect( &guard, SIGNAL( instanceStarted( KDSingleApplicationGuard::Instance ) ), &a, SLOT( instanceStarted( KDSingleApplicationGuard::Instance ) ) ); QObject::connect( &guard, SIGNAL( instanceStarted( KDSingleApplicationGuard::Instance ) ), &a, SLOT( instanceStarted( KDSingleApplicationGuard::Instance ) ) );