summaryrefslogtreecommitdiffstats
path: root/tdeio
diff options
context:
space:
mode:
Diffstat (limited to 'tdeio')
-rw-r--r--tdeio/tdeio/job.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tdeio/tdeio/job.cpp b/tdeio/tdeio/job.cpp
index f6156a966..2c17d8534 100644
--- a/tdeio/tdeio/job.cpp
+++ b/tdeio/tdeio/job.cpp
@@ -106,7 +106,9 @@ public:
unsigned long m_userTimestamp;
};
-Job::Job(bool showProgressInfo) : TQObject(0, "job"), m_error(0), m_percent(0)
+static TQObject *__job_root_obj = new TQObject(0, "jobroot");
+
+Job::Job(bool showProgressInfo) : TQObject(__job_root_obj, "job"), m_error(0), m_percent(0)
, m_progressId(0), m_speedTimer(0), d( new JobPrivate )
{
// All jobs delete themselves after emiting 'result'.