diff options
Diffstat (limited to 'kparts/statusbarextension.cpp')
-rw-r--r-- | kparts/statusbarextension.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kparts/statusbarextension.cpp b/kparts/statusbarextension.cpp index 7dcf3d800..6b0ee3cb2 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 = dynamic_cast<KMainWindow *>( w->tqtopLevelWidget() ); + KMainWindow* mw = dynamic_cast<KMainWindow *>( w->topLevelWidget() ); if ( mw ) m_statusBar = mw->statusBar(); } |