diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-03 00:35:23 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-12-04 14:27:08 +0900 |
commit | 79e900a6893237b41b0d53a548c03e0f247e806d (patch) | |
tree | f1a7cc1f49c42fe574a8c34e88e76272392fee31 /libktorrent | |
parent | 523c79c35f0f58a95cbf5e6a7ff5acb4793b5c17 (diff) | |
download | ktorrent-79e900a6893237b41b0d53a548c03e0f247e806d.tar.gz ktorrent-79e900a6893237b41b0d53a548c03e0f247e806d.zip |
Replaced various '#define' with actual strings - part 5
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'libktorrent')
-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; } }; |