summaryrefslogtreecommitdiffstats
path: root/kontact/plugins/korganizer/korg_uniqueapp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kontact/plugins/korganizer/korg_uniqueapp.cpp')
-rw-r--r--kontact/plugins/korganizer/korg_uniqueapp.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/kontact/plugins/korganizer/korg_uniqueapp.cpp b/kontact/plugins/korganizer/korg_uniqueapp.cpp
index a3229cd8a..69ab8dc20 100644
--- a/kontact/plugins/korganizer/korg_uniqueapp.cpp
+++ b/kontact/plugins/korganizer/korg_uniqueapp.cpp
@@ -42,9 +42,9 @@ int KOrganizerUniqueAppHandler::newInstance()
// Bring korganizer's plugin to front
// This bit is duplicated from TDEUniqueApplication::newInstance()
- if ( kapp->mainWidget() ) {
- kapp->mainWidget()->show();
- KWin::forceActiveWindow( kapp->mainWidget()->winId() );
+ if ( tdeApp->mainWidget() ) {
+ tdeApp->mainWidget()->show();
+ KWin::forceActiveWindow( tdeApp->mainWidget()->winId() );
TDEStartupInfo::appStarted();
}