mirror of
https://github.com/tomahawk-player/tomahawk.git
synced 2025-08-06 06:07:37 +02:00
* Remove dupe include in main.cpp.
This commit is contained in:
@@ -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 ) ) );
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user