diff options
| author | Slávek Banko <slavek.banko@axis.cz> | 2026-01-05 18:12:45 +0100 |
|---|---|---|
| committer | Slávek Banko <slavek.banko@axis.cz> | 2026-01-05 18:12:45 +0100 |
| commit | 51ff522f6140a5ffc98e6350992e47207b706916 (patch) | |
| tree | 045412f01cd401353f39f23d3505321221558b41 /kweather/stationdatabase.cpp | |
| parent | 0c6f1df612314096c4466addec2e31ae2d3484bd (diff) | |
| download | tdetoys-master.tar.gz tdetoys-master.zip | |
Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kweather/stationdatabase.cpp')
| -rw-r--r-- | kweather/stationdatabase.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kweather/stationdatabase.cpp b/kweather/stationdatabase.cpp index 0e2caac..c52d207 100644 --- a/kweather/stationdatabase.cpp +++ b/kweather/stationdatabase.cpp @@ -38,7 +38,7 @@ StationDatabase::~StationDatabase() bool StationDatabase::loadStation( const TQString & stationID ) { TQFile file( mPath ); - bool found = FALSE; + bool found = false; if ( !file.open( IO_ReadOnly ) ) return false; @@ -60,7 +60,7 @@ bool StationDatabase::loadStation( const TQString & stationID ) station.longitude = data[ 8 ].stripWhiteSpace(); theDB.insert( data[ 0 ], station ); - found = TRUE; + found = true; break; } } |
