From 767e65a61df517f9c4eb292b629f5bfe6edabdeb Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Tue, 21 Jan 2025 13:37:09 +0900 Subject: Use tdeApp Signed-off-by: Michele Calgaro --- src/main.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main.cpp') 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(); } -- cgit v1.2.3