summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/kernel/qguardedptr.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/kernel/qguardedptr.cpp b/src/kernel/qguardedptr.cpp
index 3ac27e7a7..803e75e18 100644
--- a/src/kernel/qguardedptr.cpp
+++ b/src/kernel/qguardedptr.cpp
@@ -194,10 +194,9 @@
/* Internal classes */
-static TQObject *__ptrpriv_root_obj = new TQObject(0, "_ptrpriv_root");
TQGuardedPtrPrivate::TQGuardedPtrPrivate( TQObject* o)
- : TQObject(__ptrpriv_root_obj, "_ptrpriv" ), obj( o )
+ : TQObject(0, "_ptrpriv" ), obj( o )
{
if ( obj )
connect( obj, SIGNAL( destroyed() ), this, SLOT( objectDestroyed() ) );