|
|
|
@ -34,7 +34,7 @@
|
|
|
|
|
#include <kiconloader.h>
|
|
|
|
|
#include <dcopclient.h>
|
|
|
|
|
#include <tdeconfig.h>
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
|
#include <tdemessagebox.h>
|
|
|
|
|
#include <kstandarddirs.h>
|
|
|
|
|
|
|
|
|
@ -102,17 +102,17 @@ int main( int argc, char *argv[] )
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
|
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
|
|
|
|
|
// we use it anyway. There is no performance impact.
|
|
|
|
|
if ( !KUniqueApplication::start() )
|
|
|
|
|
if ( !TDEUniqueApplication::start() )
|
|
|
|
|
{
|
|
|
|
|
exit( 0 );
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
KUniqueApplication app;
|
|
|
|
|
TDEUniqueApplication app;
|
|
|
|
|
|
|
|
|
|
// Check the current config file and remove it if it belongs to
|
|
|
|
|
// a version < 0.9.0.
|
|
|
|
|