summaryrefslogtreecommitdiffstats
path: root/tdeioslave
diff options
context:
space:
mode:
authorMichele Calgaro <[email protected]>2023-12-03 00:48:33 +0900
committerMichele Calgaro <[email protected]>2023-12-05 12:00:58 +0900
commitaf8caeadf368a17dabd9f53d4c661213c840eebd (patch)
tree6b01a0c8e9b8bbf98871807acf53d7bfb2a5b0a5 /tdeioslave
parent553b705008a60b557c076391bc6ee199eef1a708 (diff)
downloadtdelibs-af8caeadf368a17dabd9f53d4c661213c840eebd.tar.gz
tdelibs-af8caeadf368a17dabd9f53d4c661213c840eebd.zip
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <[email protected]> (cherry picked from commit 44e712a770ad0ab59d33790a80b5f6235cff6921)
Diffstat (limited to 'tdeioslave')
-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);