diff options
Diffstat (limited to 'src/gui/widgets/AudioFaderBox.cpp')
-rw-r--r-- | src/gui/widgets/AudioFaderBox.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/widgets/AudioFaderBox.cpp b/src/gui/widgets/AudioFaderBox.cpp index 2862f3c..a39209e 100644 --- a/src/gui/widgets/AudioFaderBox.cpp +++ b/src/gui/widgets/AudioFaderBox.cpp @@ -242,8 +242,8 @@ bool AudioFaderBox::owns(const TQObject *object) { return (object && - ((TQT_BASE_OBJECT(object->parent()) == TQT_BASE_OBJECT(this)) || - (object->parent() && (TQT_BASE_OBJECT(object->parent()->parent()) == TQT_BASE_OBJECT(this))))); + ((object->parent() == this) || + (object->parent() && (object->parent()->parent() == this)))); } void |