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.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/kontact/plugins/korganizer/korg_uniqueapp.cpp b/kontact/plugins/korganizer/korg_uniqueapp.cpp
index c8360583..69ab8dc2 100644
--- a/kontact/plugins/korganizer/korg_uniqueapp.cpp
+++ b/kontact/plugins/korganizer/korg_uniqueapp.cpp
@@ -41,10 +41,10 @@ int KOrganizerUniqueAppHandler::newInstance()
korganizer.send( "handleCommandLine" );
// Bring korganizer's plugin to front
- // This bit is duplicated from KUniqueApplication::newInstance()
- if ( kapp->mainWidget() ) {
- kapp->mainWidget()->show();
- KWin::forceActiveWindow( kapp->mainWidget()->winId() );
+ // This bit is duplicated from TDEUniqueApplication::newInstance()
+ if ( tdeApp->mainWidget() ) {
+ tdeApp->mainWidget()->show();
+ KWin::forceActiveWindow( tdeApp->mainWidget()->winId() );
TDEStartupInfo::appStarted();
}