summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:36:07 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-04 14:05:54 +0900
commit80596a68f623ce4e4f0019f403e98e093e60110d (patch)
treec5b4068bcf1b7df6baecd72715bf2e0e86fb0867
parentad48759da5cfac8662309ce9216707f55e4a1914 (diff)
downloadsoundkonverter-80596a68.tar.gz
soundkonverter-80596a68.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 530df121961f2e35d26b80a43dab57c74e375657)
-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 );