diff options
Diffstat (limited to 'src/flowlayout.cpp')
-rw-r--r-- | src/flowlayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/flowlayout.cpp b/src/flowlayout.cpp index 96756fa..13490cf 100644 --- a/src/flowlayout.cpp +++ b/src/flowlayout.cpp @@ -156,7 +156,7 @@ bool FlowLayout::moveItem(const TQLayoutItem* which, const TQLayoutItem* relate, newPos += direction; // actually reinsert the item mLayoutItems.insert(newPos, which); - activate(); // retqlayout + activate(); // relayout // kdDebug() << "oldPos: " << oldPos << ", newPos: " << newPos << endl; return true; } @@ -271,7 +271,7 @@ int FlowLayout::doLayoutHorizontal( const TQRect& rect, bool testOnly ){ for(TQLayoutItem* item = column.first(); item; item = column.next()){ rWidth = TQMAX( rWidth, item->widget()->sizeHint().width() ); } - // retqlayout the items of the former column + // relayout the items of the former column int space = (rect.height() - height) / (column.count() + 1); int i = 0; // counts the items of this column for(TQLayoutItem* item = column.first(); item; item = column.next()){ |