summaryrefslogtreecommitdiffstats
path: root/korganizer/kocore.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'korganizer/kocore.cpp')
-rw-r--r--korganizer/kocore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/korganizer/kocore.cpp b/korganizer/kocore.cpp
index b3781e2d9..957e6c08d 100644
--- a/korganizer/kocore.cpp
+++ b/korganizer/kocore.cpp
@@ -236,7 +236,7 @@ void KOCore::removeXMLGUIClient( TQWidget *wdg )
KXMLGUIClient* KOCore::xmlguiClient( TQWidget *wdg ) const
{
- TQWidget *topLevel = wdg->tqtopLevelWidget();
+ TQWidget *topLevel = wdg->topLevelWidget();
TQMap<TQWidget*, KXMLGUIClient*>::ConstIterator it = mXMLGUIClients.find( topLevel );
if ( it != mXMLGUIClients.end() )
return it.data();