diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-12 10:46:33 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2023-06-12 16:39:20 +0900 |
commit | fb1f3d64451e8cc405b5db572e2c506564a05680 (patch) | |
tree | ff74b10f6ef0ac72fa88a1e779d3f08efe14ca1f /src/kernel | |
parent | a75445b4c3c2fe24d377625acd8bb058b2bd971a (diff) | |
download | tqt3-fb1f3d64451e8cc405b5db572e2c506564a05680.tar.gz tqt3-fb1f3d64451e8cc405b5db572e2c506564a05680.zip |
Revert "Add single TQObject root parent for all guarded pointers."
Commit b167d09c was functionally incorrect and is causing issues on
selected distributions.
This reverts commit b167d09c43be6c8b7d30f0d4fb1bf1e86c51b8a7.
This resolves issue TDE/tde#128.
Diffstat (limited to 'src/kernel')
-rw-r--r-- | src/kernel/qguardedptr.cpp | 3 |
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() ) ); |