summaryrefslogtreecommitdiffstats
path: root/tdefile-plugins/torrent/tdefile_torrent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdefile-plugins/torrent/tdefile_torrent.cpp')
-rw-r--r--tdefile-plugins/torrent/tdefile_torrent.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdefile-plugins/torrent/tdefile_torrent.cpp b/tdefile-plugins/torrent/tdefile_torrent.cpp
index 7414689f..658a7097 100644
--- a/tdefile-plugins/torrent/tdefile_torrent.cpp
+++ b/tdefile-plugins/torrent/tdefile_torrent.cpp
@@ -396,7 +396,7 @@ bool KTorrentPlugin::writeInfo(const KFileMetaInfo &info) const
if (!output.open(IO_WriteOnly | IO_Truncate))
return false;
- return m_dict->writeToDevice(*TQT_TQIODEVICE(&output));
+ return m_dict->writeToDevice(output);
}
#include "tdefile_torrent.moc"