diff options
| author | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-08 15:17:51 +0900 |
|---|---|---|
| committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2025-12-14 17:51:59 +0900 |
| commit | 3a477fb70884668d163f6631a73c8ab894928bcc (patch) | |
| tree | 0ac0327df978cf22b7a1f495f0649591bb39ed2a /src/kernel/qlocalfs.cpp | |
| parent | e4085a83c143eb366d0364596297b322476cc652 (diff) | |
| download | tqt-r14.1.x.tar.gz tqt-r14.1.x.zip | |
Replace TRUE/FALSE with boolean values true/false - part 8r14.1.x
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 7d612f7c91d55501276a385a30dbadb121e7bd9f)
Diffstat (limited to 'src/kernel/qlocalfs.cpp')
| -rw-r--r-- | src/kernel/qlocalfs.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/qlocalfs.cpp b/src/kernel/qlocalfs.cpp index 6932c4152..e84faa154 100644 --- a/src/kernel/qlocalfs.cpp +++ b/src/kernel/qlocalfs.cpp @@ -128,7 +128,7 @@ void TQLocalFs::operationListChildren( TQNetworkOperation *op ) dir = TQDir( url()->path() ); dir.setNameFilter( url()->nameFilter() ); - dir.setMatchAllDirs( TRUE ); + dir.setMatchAllDirs( true ); if ( !dir.isReadable() ) { TQString msg = tr( "Could not read directory\n%1" ).arg( url()->path() ); op->setState( StFailed ); @@ -206,14 +206,14 @@ void TQLocalFs::operationRemove( TQNetworkOperation *op ) #endif op->setState( StInProgress ); TQString name = TQUrl( op->arg( 0 ) ).path(); - bool deleted = FALSE; + bool deleted = false; dir = TQDir( url()->path() ); TQFileInfo fi( dir, name ); if ( fi.isDir() ) { if ( dir.rmdir( name ) ) - deleted = TRUE; + deleted = true; } if ( deleted || dir.remove( name ) ) { |
