summaryrefslogtreecommitdiffstats
path: root/kparts/statusbarextension.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kparts/statusbarextension.cpp')
-rw-r--r--kparts/statusbarextension.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kparts/statusbarextension.cpp b/kparts/statusbarextension.cpp
index 3e64bcece..a90a50689 100644
--- a/kparts/statusbarextension.cpp
+++ b/kparts/statusbarextension.cpp
@@ -135,7 +135,7 @@ KStatusBar * StatusBarExtension::statusBar() const
{
if ( !m_statusBar ) {
TQWidget* w = static_cast<KParts::ReadOnlyPart*>(parent())->widget();
- KMainWindow* mw = tqt_dynamic_cast<KMainWindow *>( w->tqtopLevelWidget() );
+ KMainWindow* mw = tqt_dynamic_cast<KMainWindow *>( w->topLevelWidget() );
if ( mw )
m_statusBar = mw->statusBar();
}