summaryrefslogtreecommitdiffstats
path: root/klinkstatus/src/klinkstatus.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 19:39:12 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-01-20 21:02:39 +0900
commitf989443912807e83607d0bb08a6ff7889632cf17 (patch)
treed58e2ad3c6caae9e0105b30c6a80b0c2cd17c0b4 /klinkstatus/src/klinkstatus.cpp
parentba0eac4558cc2044486988c42039afa274a7db87 (diff)
downloadtdewebdev-f989443912807e83607d0bb08a6ff7889632cf17.tar.gz
tdewebdev-f989443912807e83607d0bb08a6ff7889632cf17.zip
Use tdeApp
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'klinkstatus/src/klinkstatus.cpp')
-rw-r--r--klinkstatus/src/klinkstatus.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/klinkstatus/src/klinkstatus.cpp b/klinkstatus/src/klinkstatus.cpp
index 7a125bb5..be1d4b0e 100644
--- a/klinkstatus/src/klinkstatus.cpp
+++ b/klinkstatus/src/klinkstatus.cpp
@@ -73,8 +73,8 @@ KLinkStatus::KLinkStatus()
// if we couldn't find our Part, we exit since the Shell by
// itself can't do anything useful
KMessageBox::error(this, i18n("Could not find the KLinkStatus part; did you configure with '--prefix=/$TDEDIR' and perform 'make install'?"));
- kapp->quit();
- // we return here, cause kapp->quit() only means "exit the
+ tdeApp->quit();
+ // we return here, cause tdeApp->quit() only means "exit the
// next time we enter the event loop...
return;
}
@@ -97,13 +97,13 @@ void KLinkStatus::load(const KURL& url)
void KLinkStatus::setupActions()
{
- // KStdAction::quit(kapp, TQ_SLOT(quit()), actionCollection());
+ // KStdAction::quit(tdeApp, TQ_SLOT(quit()), actionCollection());
// The above causes a segfault when using File->Quit.
// Here's Waldo's explanation:
/* I had a look. The problem is due to the SessionWidget destructor calling
KLSConfig. If you use the window button, the window and the SessionWidget is
destructed first and then later the application is destructed.
- If you use File->Quit it calls kapp->quit which destructs the application
+ If you use File->Quit it calls tdeApp->quit which destructs the application
without destructing the window first. The application first destructs all
static deleters and its administration, and then goes on to kill the
remaining windows that it owns. Therein lies the problem because by then the