diff options
Diffstat (limited to 'kommander/editor/metadatabase.cpp')
-rw-r--r-- | kommander/editor/metadatabase.cpp | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/kommander/editor/metadatabase.cpp b/kommander/editor/metadatabase.cpp index beb19164..2bdbe844 100644 --- a/kommander/editor/metadatabase.cpp +++ b/kommander/editor/metadatabase.cpp @@ -269,10 +269,10 @@ void MetaDataBase::setSpacing( TQObject *o, int spacing ) } r->spacing = spacing; - TQLayout * tqlayout = 0; - WidgetFactory::layoutType( (TQWidget*)o, tqlayout ); - if ( tqlayout ) - tqlayout->setSpacing( spacing ); + TQLayout * layout = 0; + WidgetFactory::layoutType( (TQWidget*)o, layout ); + if ( layout ) + layout->setSpacing( spacing ); } int MetaDataBase::spacing( TQObject *o ) @@ -305,12 +305,12 @@ void MetaDataBase::setMargin( TQObject *o, int margin ) } r->margin = margin; - TQLayout * tqlayout = 0; - WidgetFactory::layoutType( (TQWidget*)o, tqlayout ); + TQLayout * layout = 0; + WidgetFactory::layoutType( (TQWidget*)o, layout ); if ( margin < 1 ) margin = 1; - if ( tqlayout ) - tqlayout->setMargin( margin ); + if ( layout ) + layout->setMargin( margin ); } int MetaDataBase::margin( TQObject *o ) |