summaryrefslogtreecommitdiffstats
path: root/kmail/kmcomposewin.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kmail/kmcomposewin.cpp')
-rw-r--r--kmail/kmcomposewin.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kmail/kmcomposewin.cpp b/kmail/kmcomposewin.cpp
index 9125f56f1..863589067 100644
--- a/kmail/kmcomposewin.cpp
+++ b/kmail/kmcomposewin.cpp
@@ -3304,7 +3304,7 @@ void KMComposeWin::compressAttach( int idx )
msgPart = mAtmList.at( i );
TQByteArray array;
TQBuffer dev( array );
- KZip zip( &TQT_TQIODEVICE_OBJECT(dev) );
+ KZip zip( &dev );
TQByteArray decoded = msgPart->bodyDecodedBinary();
if ( ! zip.open( IO_WriteOnly ) ) {
KMessageBox::sorry(0, i18n("KMail could not compress the file.") );
@@ -3383,7 +3383,7 @@ void KMComposeWin::uncompressAttach( int idx )
msgPart = mAtmList.at( i );
TQBuffer dev( msgPart->bodyDecodedBinary() );
- KZip zip( &TQT_TQIODEVICE_OBJECT(dev) );
+ KZip zip( &dev );
TQByteArray decoded;
decoded = msgPart->bodyDecodedBinary();