|
|
|
@ -59,7 +59,7 @@ int main(int argc, char *argv[])
|
|
|
|
|
// We handle autostart via standard autostart-enabled .desktop file instead of the session
|
|
|
|
|
a.disableSessionManagement();
|
|
|
|
|
|
|
|
|
|
TDEConfig *cfg= kapp->config();
|
|
|
|
|
TDEConfig *cfg= tdeApp->config();
|
|
|
|
|
cfg->setGroup("General");
|
|
|
|
|
if( cfg->readEntry("Version")!=aboutData.version() ) {
|
|
|
|
|
cfg->writeEntry("Version",aboutData.version());
|
|
|
|
@ -69,8 +69,8 @@ int main(int argc, char *argv[])
|
|
|
|
|
if(showSplash) (void)new KSensorsSplash();
|
|
|
|
|
|
|
|
|
|
LMSensorsDock *ksensors= new LMSensorsDock(noDock);
|
|
|
|
|
TQObject::connect( ksensors, TQ_SIGNAL(destroyed()), kapp, TQ_SLOT(quit()) );
|
|
|
|
|
TQObject::connect( kapp, TQ_SIGNAL(saveYourself()), ksensors, TQ_SLOT(saveConfig()) );
|
|
|
|
|
TQObject::connect( ksensors, TQ_SIGNAL(destroyed()), tdeApp, TQ_SLOT(quit()) );
|
|
|
|
|
TQObject::connect( tdeApp, TQ_SIGNAL(saveYourself()), ksensors, TQ_SLOT(saveConfig()) );
|
|
|
|
|
|
|
|
|
|
return a.exec();
|
|
|
|
|
}
|
|
|
|
|