summaryrefslogtreecommitdiffstats
path: root/plugins/gui-quickbar/buttonflowlayout.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-26 21:03:24 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-26 21:03:24 +0900
commitb0e57710fb765a6060971ec0db21bbed462f7da9 (patch)
treee0c11e66ee52b8d6794f2df20b23fb89a2b352f7 /plugins/gui-quickbar/buttonflowlayout.cpp
parent285ab40efff538148114b59fdddffa4644fa50a0 (diff)
downloadtderadio-b0e57710fb765a6060971ec0db21bbed462f7da9.tar.gz
tderadio-b0e57710fb765a6060971ec0db21bbed462f7da9.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
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