|
|
@ -19,7 +19,7 @@
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
#include <tdeaboutdata.h>
|
|
|
|
#include <tdelocale.h>
|
|
|
|
#include <tdelocale.h>
|
|
|
|
|
|
|
|
|
|
|
|
#include <kuniqueapplication.h>
|
|
|
|
#include <tdeuniqueapplication.h>
|
|
|
|
#include "ksensorssplash.h"
|
|
|
|
#include "ksensorssplash.h"
|
|
|
|
#include "lmsensorsdock.h"
|
|
|
|
#include "lmsensorsdock.h"
|
|
|
|
|
|
|
|
|
|
|
@ -47,15 +47,15 @@ int main(int argc, char *argv[])
|
|
|
|
|
|
|
|
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
TDECmdLineArgs::init( argc, argv, &aboutData );
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
TDECmdLineArgs::addCmdLineOptions( options );
|
|
|
|
KUniqueApplication::addCmdLineOptions();
|
|
|
|
TDEUniqueApplication::addCmdLineOptions();
|
|
|
|
|
|
|
|
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
TDECmdLineArgs *args = TDECmdLineArgs::parsedArgs();
|
|
|
|
bool noDock= !args->isSet("dock");
|
|
|
|
bool noDock= !args->isSet("dock");
|
|
|
|
bool showSplash= args->isSet("splash");
|
|
|
|
bool showSplash= args->isSet("splash");
|
|
|
|
args->clear();
|
|
|
|
args->clear();
|
|
|
|
|
|
|
|
|
|
|
|
if(!KUniqueApplication::start()) return 0;
|
|
|
|
if(!TDEUniqueApplication::start()) return 0;
|
|
|
|
KUniqueApplication a;
|
|
|
|
TDEUniqueApplication a;
|
|
|
|
// We handle autostart via standard autostart-enabled .desktop file instead of the session
|
|
|
|
// We handle autostart via standard autostart-enabled .desktop file instead of the session
|
|
|
|
a.disableSessionManagement();
|
|
|
|
a.disableSessionManagement();
|
|
|
|
|
|
|
|
|
|
|
|