diff options
Diffstat (limited to 'kontact/src/mainwindow.cpp')
-rw-r--r-- | kontact/src/mainwindow.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/kontact/src/mainwindow.cpp b/kontact/src/mainwindow.cpp index b719a57d5..e30975ec6 100644 --- a/kontact/src/mainwindow.cpp +++ b/kontact/src/mainwindow.cpp @@ -87,8 +87,8 @@ using namespace Kontact; class SettingsDialogWrapper : public KSettings::Dialog { public: - SettingsDialogWrapper( ContentInListView content, TQWidget * tqparent = 0 ) - : KSettings::Dialog( content, tqparent, 0 ) + SettingsDialogWrapper( ContentInListView content, TQWidget * parent = 0 ) + : KSettings::Dialog( content, parent, 0 ) { } @@ -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->parentWidget(); - while ( tqparent ) { - if ( tqparent == mCurrentPlugin->part()->widget() ) + TQWidget *parent = tqfocusWidget->parentWidget(); + while ( parent ) { + if ( parent == mCurrentPlugin->part()->widget() ) mFocusWidgets.insert( mCurrentPlugin->identifier(), TQGuardedPtr<TQWidget>( tqfocusWidget ) ); - tqparent = tqparent->parentWidget(); + parent = parent->parentWidget(); } } |