Replaced various '#define' with actual strings - part 5

Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
pull/15/head
Michele Calgaro 12 months ago
parent bcf2d45952
commit 530df12196
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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 );

Loading…
Cancel
Save