diff options
Diffstat (limited to 'src/kernel/qobject.cpp')
-rw-r--r-- | src/kernel/qobject.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/kernel/qobject.cpp b/src/kernel/qobject.cpp index 3ab2d9b97..bb4c848b8 100644 --- a/src/kernel/qobject.cpp +++ b/src/kernel/qobject.cpp @@ -134,6 +134,13 @@ TQStyleControlElementDataPrivate* TQObject::controlElementDataPrivateObject() { return d->controlElementDataPrivate; } +void TQObject::cleanupControlElementData() { + delete d->controlElementData; + d->controlElementData = 0; + delete d->controlElementDataPrivate; + d->controlElementDataPrivate = 0; +} + #if defined(TQT_THREAD_SUPPORT) void TQObject::moveToThread_helper(TQThread *targetThread) |