diff options
Diffstat (limited to 'kontact/src/mainwindow.cpp')
-rw-r--r-- | kontact/src/mainwindow.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kontact/src/mainwindow.cpp b/kontact/src/mainwindow.cpp index 582b895a6..8439b4fce 100644 --- a/kontact/src/mainwindow.cpp +++ b/kontact/src/mainwindow.cpp @@ -805,12 +805,12 @@ void MainWindow::selectPlugin( Kontact::Plugin *plugin ) TQWidget *tqfocusWidget = kapp->tqfocusWidget(); if ( mCurrentPlugin && tqfocusWidget ) { // save the focus widget only when it belongs to the activated part - TQWidget *tqparent = tqfocusWidget->tqparentWidget(); + TQWidget *tqparent = tqfocusWidget->parentWidget(); while ( tqparent ) { if ( tqparent == mCurrentPlugin->part()->widget() ) mFocusWidgets.insert( mCurrentPlugin->identifier(), TQGuardedPtr<TQWidget>( tqfocusWidget ) ); - tqparent = tqparent->tqparentWidget(); + tqparent = tqparent->parentWidget(); } } |