diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-08 12:59:07 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-04-10 17:35:38 +0900 |
commit | d2d30bfbef26707f9158cbc31d5763a9a1d4ab2d (patch) | |
tree | 6d2d4502d6fbe4d6810bfb7bcf297cbf995d3db8 /buildtools/custommakefiles | |
parent | b9618de13e8f38c3558e9ed393a75c1f13af665c (diff) | |
download | tdevelop-r14.1.4.tar.gz tdevelop-r14.1.4.zip |
Replace TRUE/FALSE with boolean values true/falser14.1.4
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 5198c9d3ac02aa9c7949f49e3cf374f683facb18)
Diffstat (limited to 'buildtools/custommakefiles')
-rw-r--r-- | buildtools/custommakefiles/customprojectpart.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/buildtools/custommakefiles/customprojectpart.cpp b/buildtools/custommakefiles/customprojectpart.cpp index 746e9fe4..c3a06731 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(); } |