diff options
Diffstat (limited to 'libktorrent/util/log.cpp')
-rw-r--r-- | libktorrent/util/log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libktorrent/util/log.cpp b/libktorrent/util/log.cpp index 42e2716..ff83f1d 100644 --- a/libktorrent/util/log.cpp +++ b/libktorrent/util/log.cpp @@ -102,7 +102,7 @@ namespace bt if (!fptr.open(IO_WriteOnly)) throw Error(i18n("Cannot open log file %1 : %2").arg(file).arg(fptr.errorString())); - out->setDevice(TQT_TQIODEVICE(&fptr)); + out->setDevice(&fptr); } void write(const TQString & line) @@ -153,7 +153,7 @@ namespace bt void logRotateDone() { fptr.open(IO_WriteOnly); - out->setDevice(TQT_TQIODEVICE(&fptr)); + out->setDevice(&fptr); rotate_job = 0; } }; |