summaryrefslogtreecommitdiffstats
path: root/tdecore/tdesycoca.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdecore/tdesycoca.cpp')
-rw-r--r--tdecore/tdesycoca.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdecore/tdesycoca.cpp b/tdecore/tdesycoca.cpp
index b1b150df7..fff419532 100644
--- a/tdecore/tdesycoca.cpp
+++ b/tdecore/tdesycoca.cpp
@@ -92,9 +92,9 @@ KSycoca::KSycoca()
{
d = new KSycocaPrivate;
// Register app as able to receive DCOP messages
- if (kapp && !kapp->dcopClient()->isAttached())
+ if (tdeApp && !tdeApp->dcopClient()->isAttached())
{
- kapp->dcopClient()->attach();
+ tdeApp->dcopClient()->attach();
}
// We register with DCOP _before_ we try to open the database.
// This way we can be relative sure that the KDE framework is