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-28 09:18:11 +0900
commit4d618f818dc0406196ab93943df1bfc691f44a13 (patch)
tree89096ff9055373b473bfe7dfc723d0975ced2fcf /plugins/gui-quickbar/buttonflowlayout.cpp
parentf51a973a9ecb60dcf6d717b4aa3ff41464fe547e (diff)
downloadtderadio-4d618f81.tar.gz
tderadio-4d618f81.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit b0e57710fb765a6060971ec0db21bbed462f7da9)
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