diff options
Diffstat (limited to 'src/logger.cpp')
-rwxr-xr-x | src/logger.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/logger.cpp b/src/logger.cpp index 27438b7..5566c07 100755 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -22,7 +22,7 @@ Logger::Logger() (*item)->id = 1000; (*item)->completed = true; (*item)->state = 1; - (*item)->file.setName( locateLocal("data",TQString("soundkonverter/log/%1.log").tqarg((*item)->id)) ); + (*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)) ); @@ -52,7 +52,7 @@ int Logger::registerProcess( const TQString& filename ) (*item)->filename = filename; (*item)->id = getNewID(); (*item)->completed = false; - (*item)->file.setName( locateLocal("data",TQString("soundkonverter/log/%1.log").tqarg((*item)->id)) ); + (*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)) ); |