|
|
@ -34,7 +34,7 @@
|
|
|
|
#include <kiconloader.h>
|
|
|
|
#include <kiconloader.h>
|
|
|
|
#include <dcopclient.h>
|
|
|
|
#include <dcopclient.h>
|
|
|
|
#include <tdeconfig.h>
|
|
|
|
#include <tdeconfig.h>
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
|
|
|
|
|
|
|
@ -102,17 +102,17 @@ int main( int argc, char *argv[] )
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options ); // Add our own options.
|
|
|
|
|
|
|
|
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
|
|
|
|
|
|
|
|
// This is not needed, because KUniqueApplication::start()
|
|
|
|
// This is not needed, because TDEUniqueApplication::start()
|
|
|
|
// is called directly before the application is executed, but
|
|
|
|
// is called directly before the application is executed, but
|
|
|
|
// we use it anyway. There is no performance impact.
|
|
|
|
// we use it anyway. There is no performance impact.
|
|
|
|
if ( !KUniqueApplication::start() )
|
|
|
|
if ( !TDEUniqueApplication::start() )
|
|
|
|
{
|
|
|
|
{
|
|
|
|
exit( 0 );
|
|
|
|
exit( 0 );
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
KUniqueApplication app;
|
|
|
|
TDEUniqueApplication app;
|
|
|
|
|
|
|
|
|
|
|
|
// Check the current config file and remove it if it belongs to
|
|
|
|
// Check the current config file and remove it if it belongs to
|
|
|
|
// a version < 0.9.0.
|
|
|
|
// a version < 0.9.0.
|
|
|
|