diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-05-30 14:27:29 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-06-25 16:43:08 +0900 |
| commit | 35ced32e331ee29fda1642616c803637952f5b22 (patch) | |
| tree | da44726777f814e19c7ef1e43854f6a1693dd6fb /tools/linguist/lrelease/main.cpp | |
| parent | 7dd4848d61e4c52091d6c644356c84c67536bde2 (diff) | |
| download | tqt-35ced32e331ee29fda1642616c803637952f5b22.tar.gz tqt-35ced32e331ee29fda1642616c803637952f5b22.zip | |
Replace TRUE/FALSE with boolean values true/false - part 1
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit a7f1e6e2552d9cdbb3d76bff089db522248b9a24)
Diffstat (limited to 'tools/linguist/lrelease/main.cpp')
| -rw-r--r-- | tools/linguist/lrelease/main.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/tools/linguist/lrelease/main.cpp b/tools/linguist/lrelease/main.cpp index 587f62104..6671045e2 100644 --- a/tools/linguist/lrelease/main.cpp +++ b/tools/linguist/lrelease/main.cpp @@ -104,9 +104,9 @@ static void releaseTsFile( const TQString& tsFileName, bool verbose, int main( int argc, char **argv ) { - bool verbose = FALSE; - bool stripped = TRUE; - bool metTranslations = FALSE; + bool verbose = false; + bool stripped = true; + bool metTranslations = false; MetaTranslator tor; TQString outputFile; int numFiles = 0; @@ -114,10 +114,10 @@ int main( int argc, char **argv ) for ( i = 1; i < argc; i++ ) { if ( qstrcmp(argv[i], "-nocompress") == 0 ) { - stripped = FALSE; + stripped = false; continue; } else if ( qstrcmp(argv[i], "-verbose") == 0 ) { - verbose = TRUE; + verbose = true; continue; } else if ( qstrcmp(argv[i], "-version") == 0 ) { fprintf( stderr, "lrelease version %s\n", TQT_VERSION_STR ); @@ -182,7 +182,7 @@ int main( int argc, char **argv ) for ( t = toks.begin(); t != toks.end(); ++t ) { if ( it.key() == TQString("TRANSLATIONS") ) { - metTranslations = TRUE; + metTranslations = true; releaseTsFile( *t, verbose, stripped ); } } |
