summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:36:07 +0900
committerMichele Calgaro <[email protected]>2023-12-04 14:05:26 +0900
commit530df121961f2e35d26b80a43dab57c74e375657 (patch)
treed7a5c3312a535c3c82deba04e69e371c9f89c27f
parentbcf2d45952d987a3426b6ddb2e3b450ca5776b0f (diff)
downloadsoundkonverter-530df121961f2e35d26b80a43dab57c74e375657.tar.gz
soundkonverter-530df121961f2e35d26b80a43dab57c74e375657.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]>
-rw-r--r--src/logger.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp
index 404c1db..072c4cf 100644
--- a/src/logger.cpp
+++ b/src/logger.cpp
@@ -25,7 +25,7 @@ Logger::Logger()
(*item)->file.setName( locateLocal("data",TQString("soundkonverter/log/%1.log").arg((*item)->id)) );
// TODO error handling
(*item)->file.open( IO_WriteOnly );
- (*item)->textStream.setDevice( TQT_TQIODEVICE(&((*item)->file)) );
+ (*item)->textStream.setDevice( &((*item)->file) );
srand( (unsigned)time(NULL) );
}
@@ -55,7 +55,7 @@ int Logger::registerProcess( const TQString& filename )
(*item)->file.setName( locateLocal("data",TQString("soundkonverter/log/%1.log").arg((*item)->id)) );
// TODO error handling
(*item)->file.open( IO_WriteOnly );
- (*item)->textStream.setDevice( TQT_TQIODEVICE(&((*item)->file)) );
+ (*item)->textStream.setDevice( &((*item)->file) );
emit updateProcess( (*item)->id );