diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index ca1972f..0408e21 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -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(); } |