summaryrefslogtreecommitdiffstats
path: root/tdeioslave/iso/kiso.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-12-03 00:48:33 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-12-05 12:00:35 +0900
commit44e712a770ad0ab59d33790a80b5f6235cff6921 (patch)
tree9dcde270e75b838740733976badcd5584777a039 /tdeioslave/iso/kiso.cpp
parentcca633c6bdfe25e82f175f251c76e63c9e91b895 (diff)
downloadtdelibs-44e712a770ad0ab59d33790a80b5f6235cff6921.tar.gz
tdelibs-44e712a770ad0ab59d33790a80b5f6235cff6921.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeioslave/iso/kiso.cpp')
-rw-r--r--tdeioslave/iso/kiso.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tdeioslave/iso/kiso.cpp b/tdeioslave/iso/kiso.cpp
index 513bd7c04..fdd2df413 100644
--- a/tdeioslave/iso/kiso.cpp
+++ b/tdeioslave/iso/kiso.cpp
@@ -157,7 +157,7 @@ void KIso::prepareDevice( const TQString & filename,
{
/* 'hack' for Qt's false assumption that only S_ISREG is seekable */
if( "inode/blockdevice" == mimetype )
- setDevice( TQT_TQIODEVICE(new QFileHack( filename )) );
+ setDevice( new QFileHack( filename ) );
else
{
if( "application/x-gzip" == mimetype
@@ -190,7 +190,7 @@ KIso::~KIso()
/* callback function for libisofs */
static int readf(char *buf, long long start, long long len,void *udata) {
- TQIODevice* dev = ( static_cast<KIso*> (udata) )->device();
+ TQIODevice* dev = ( static_cast<KIso*>(udata) )->device();
if (dev->at(start<<11)) {
if ((dev->readBlock(buf, len<<11)) != -1) return (len);