mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-03-20 07:49:42 +01:00
* Remove dupe include in main.cpp.
This commit is contained in:
parent
7758cbb91f
commit
1a362fa227
@ -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 ) ) );
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user