summaryrefslogtreecommitdiffstats
path: root/kbfxlib/data
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-03-29 11:28:35 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-03-29 19:00:50 +0900
commit4239ec917e4a66a6264b4ba732489ba88fad361a (patch)
tree40b37f39c8f1fd7ee5e19d5b3f1614f730ecea48 /kbfxlib/data
parent27a604dfeecd599c5fc910683eabecfca6957f82 (diff)
downloadkbfx-4239ec91.tar.gz
kbfx-4239ec91.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 3233d6a066667673e676dee95db7ca1419087018)
Diffstat (limited to 'kbfxlib/data')
-rw-r--r--kbfxlib/data/kbfxdatagroup.cpp2
-rw-r--r--kbfxlib/data/kbfxplasmapluginloader.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/kbfxlib/data/kbfxdatagroup.cpp b/kbfxlib/data/kbfxdatagroup.cpp
index 93a9c1c..a321f8e 100644
--- a/kbfxlib/data/kbfxdatagroup.cpp
+++ b/kbfxlib/data/kbfxdatagroup.cpp
@@ -47,7 +47,7 @@ KbfxDataGroup::lookup ( TQString str )
Data::Iterator it;
for ( it = m_data.begin();it!=m_data.end();++it )
{
- if ( ( *it )->lookup ( str ) == true )
+ if ( ( *it )->lookup ( str ) )
{
_matching.prepend ( * ( *it ) );
}
diff --git a/kbfxlib/data/kbfxplasmapluginloader.cpp b/kbfxlib/data/kbfxplasmapluginloader.cpp
index 712813e..efc25ed 100644
--- a/kbfxlib/data/kbfxplasmapluginloader.cpp
+++ b/kbfxlib/data/kbfxplasmapluginloader.cpp
@@ -152,7 +152,7 @@ KbfxPlasmaPluginLoader::scanPlugins()
for ( it = pluginMap().begin(); it != pluginMap().end();++it )
{
- if ( it.data()->status() == false )
+ if ( !it.data()->status() )
plugins.append ( it.data()->name() );
}
return plugins;