summaryrefslogtreecommitdiffstats
path: root/plugins/gui-quickbar/buttonflowlayout.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/gui-quickbar/buttonflowlayout.cpp')
-rw-r--r--plugins/gui-quickbar/buttonflowlayout.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/gui-quickbar/buttonflowlayout.cpp b/plugins/gui-quickbar/buttonflowlayout.cpp
index 0b49564..c94101b 100644
--- a/plugins/gui-quickbar/buttonflowlayout.cpp
+++ b/plugins/gui-quickbar/buttonflowlayout.cpp
@@ -86,7 +86,7 @@ int ButtonFlowLayout::heightForWidth( int w ) const
if ( cached_width != w ) {
//Not all C++ compilers support "mutable" yet:
ButtonFlowLayout * mthis = (ButtonFlowLayout*)this;
- int h = mthis->doLayout( TQRect(0,0,w,0), TRUE );
+ int h = mthis->doLayout( TQRect(0,0,w,0), true );
mthis->cached_hfw = h;
mthis->cached_width = w;
return h;
@@ -101,7 +101,7 @@ void ButtonFlowLayout::addItem( TQLayoutItem *item)
bool ButtonFlowLayout::hasHeightForWidth() const
{
- return TRUE;
+ return true;
}
TQSize ButtonFlowLayout::sizeHint() const