diff options
Diffstat (limited to 'tdeio/tdeio/ktar.cpp')
-rw-r--r-- | tdeio/tdeio/ktar.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeio/tdeio/ktar.cpp b/tdeio/tdeio/ktar.cpp index 058d328b7..74b47e69b 100644 --- a/tdeio/tdeio/ktar.cpp +++ b/tdeio/tdeio/ktar.cpp @@ -129,7 +129,7 @@ void KTar::prepareDevice( const TQString & filename, const TQString & mimetype, bool /*forced*/ ) { if( "application/x-tar" == mimetype ) - setDevice( TQT_TQIODEVICE(new TQFile( filename )) ); + setDevice( new TQFile( filename ) ); else { // The compression filters are very slow with random access. @@ -149,7 +149,7 @@ void KTar::prepareDevice( const TQString & filename, // the device must be closed, however, for KArchive.setDevice() TQFile* file = d->tmpFile->file(); file->close(); - setDevice(TQT_TQIODEVICE(file)); + setDevice(file); } } |