summaryrefslogtreecommitdiffstats
path: root/libktorrent/util/log.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'libktorrent/util/log.cpp')
-rw-r--r--libktorrent/util/log.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/libktorrent/util/log.cpp b/libktorrent/util/log.cpp
index 6935a45..6030e99 100644
--- a/libktorrent/util/log.cpp
+++ b/libktorrent/util/log.cpp
@@ -45,7 +45,7 @@ namespace bt
class Log::Private
{
public:
- Log* tqparent;
+ Log* parent;
TQTextStream* out;
TQFile fptr;
bool to_cout;
@@ -55,7 +55,7 @@ namespace bt
unsigned int m_filter;
AutoRotateLogJob* rotate_job;
public:
- Private(Log* tqparent) : tqparent(tqparent),out(0),to_cout(false),rotate_job(0)
+ Private(Log* parent) : parent(parent),out(0),to_cout(false),rotate_job(0)
{
out = new TQTextStream();
}
@@ -146,7 +146,7 @@ namespace bt
fptr.close(); // close the log file
out->setDevice(0);
// start the rotate job
- rotate_job = new AutoRotateLogJob(file,tqparent);
+ rotate_job = new AutoRotateLogJob(file,parent);
}
}