diff options
Diffstat (limited to 'libtdepim/kprefsdialog.cpp')
-rw-r--r-- | libtdepim/kprefsdialog.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libtdepim/kprefsdialog.cpp b/libtdepim/kprefsdialog.cpp index 816028726..047f16d22 100644 --- a/libtdepim/kprefsdialog.cpp +++ b/libtdepim/kprefsdialog.cpp @@ -766,18 +766,18 @@ void KPrefsDialog::autoCreate() kdDebug() << "ITEMS: " << (*it)->name() << endl; TQWidget *page; - TQGridLayout *tqlayout; + TQGridLayout *layout; int currentRow; if ( !mGroupPages.contains( group ) ) { page = addPage( group ); - tqlayout = new TQGridLayout( page ); + layout = new TQGridLayout( page ); mGroupPages.insert( group, page ); - mGroupLayouts.insert( group, tqlayout ); + mGroupLayouts.insert( group, layout ); currentRow = 0; mCurrentRows.insert( group, currentRow ); } else { page = mGroupPages[ group ]; - tqlayout = mGroupLayouts[ group ]; + layout = mGroupLayouts[ group ]; currentRow = mCurrentRows[ group ]; } @@ -786,11 +786,11 @@ void KPrefsDialog::autoCreate() if ( wid ) { TQValueList<TQWidget *> widgets = wid->widgets(); if ( widgets.count() == 1 ) { - tqlayout->addMultiCellWidget( widgets[ 0 ], + layout->addMultiCellWidget( widgets[ 0 ], currentRow, currentRow, 0, 1 ); } else if ( widgets.count() == 2 ) { - tqlayout->addWidget( widgets[ 0 ], currentRow, 0 ); - tqlayout->addWidget( widgets[ 1 ], currentRow, 1 ); + layout->addWidget( widgets[ 0 ], currentRow, 0 ); + layout->addWidget( widgets[ 1 ], currentRow, 1 ); } else { kdError() << "More widgets than expected: " << widgets.count() << endl; } |