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 b167d09c43.
This resolves issue TDE/tde#128.
pull/75/head
Michele Calgaro 11 months ago
parent a75445b4c3
commit fb1f3d6445
Signed by: MicheleC
GPG Key ID: 2A75B7CA8ADED5CF

@ -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() ) );

Loading…
Cancel
Save