diff options
Diffstat (limited to 'kode/kwsdl/kung/complexbaseinputfield.cpp')
-rw-r--r-- | kode/kwsdl/kung/complexbaseinputfield.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kode/kwsdl/kung/complexbaseinputfield.cpp b/kode/kwsdl/kung/complexbaseinputfield.cpp index 80f755817..1c43bd952 100644 --- a/kode/kwsdl/kung/complexbaseinputfield.cpp +++ b/kode/kwsdl/kung/complexbaseinputfield.cpp @@ -141,14 +141,14 @@ TQWidget *ComplexBaseInputField::createWidget( TQWidget *parent ) { TQGroupBox *inputWidget = new TQGroupBox( mName, parent ); inputWidget->setColumnLayout( 0, Qt::Horizontal ); - TQGridLayout *layout = new TQGridLayout( inputWidget->layout(), 2, 2, 6 ); + TQGridLayout *tqlayout = new TQGridLayout( inputWidget->tqlayout(), 2, 2, 6 ); InputField::List::Iterator it; int row = 0; for ( it = mFields.begin(); it != mFields.end(); ++it, ++row ) { TQLabel *label = new TQLabel( (*it)->name(), inputWidget ); - layout->addWidget( label, row, 0 ); - layout->addWidget( (*it)->createWidget( inputWidget ), row, 1 ); + tqlayout->addWidget( label, row, 0 ); + tqlayout->addWidget( (*it)->createWidget( inputWidget ), row, 1 ); } return inputWidget; |