summaryrefslogtreecommitdiffstats
path: root/buildtools/custommakefiles/customprojectpart.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2025-04-08 12:59:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2025-04-10 12:35:00 +0900
commit5198c9d3ac02aa9c7949f49e3cf374f683facb18 (patch)
tree6b2429d827560c3abd4ae62a941d84ceebaa7a3b /buildtools/custommakefiles/customprojectpart.cpp
parent8c206b21c4f83d07c23d59989988291cfee38009 (diff)
downloadtdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.tar.gz
tdevelop-5198c9d3ac02aa9c7949f49e3cf374f683facb18.zip
Replace TRUE/FALSE with boolean values true/false
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'buildtools/custommakefiles/customprojectpart.cpp')
-rw-r--r--buildtools/custommakefiles/customprojectpart.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp
index 839b23da..3afa0ff6 100644
--- a/buildtools/custommakefiles/customprojectpart.cpp
+++ b/buildtools/custommakefiles/customprojectpart.cpp
@@ -894,7 +894,7 @@ TQString CustomProjectPart::makeEnvironment() const
void CustomProjectPart::startMakeCommand( const TQString &dir, const TQString &target, bool withKdesu )
{
- if ( partController()->saveAllFiles() == false )
+ if ( !partController()->saveAllFiles() )
return; //user cancelled
TQDomDocument &dom = *projectDom();
@@ -1002,8 +1002,8 @@ void CustomProjectPart::slotCompileFile()
//if there is no Makefile in the directory of the source file
//try to build it from the main build dir
//this works e.g. for non-recursive cmake Makefiles, Alex
- if ( buildtool == "make" && ( TQFile::exists( sourceDir + "/Makefile" ) == false )
- && ( TQFile::exists( sourceDir + "/makefile" ) == false ) )
+ if ( buildtool == "make" && !TQFile::exists( sourceDir + "/Makefile" )
+ && !TQFile::exists( sourceDir + "/makefile" ) )
{
buildDir = buildDirectory();
}