summaryrefslogtreecommitdiffstats
path: root/src/gui/widgets/AudioFaderBox.cpp
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2023-08-12 18:43:15 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2023-08-16 23:26:07 +0900
commit45016a2fba12ee4dc9ff29854504ae79a24fda11 (patch)
treefbe69ff562e758268f3be479356b48b03e67bbd2 /src/gui/widgets/AudioFaderBox.cpp
parent4015988ca8f98d6b4fc43cee6cdd3a5895b3c3ca (diff)
downloadrosegarden-45016a2fba12ee4dc9ff29854504ae79a24fda11.tar.gz
rosegarden-45016a2fba12ee4dc9ff29854504ae79a24fda11.zip
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it> (cherry picked from commit 2ec11ba03e87e734e3fa95f59385049feb82098b)
Diffstat (limited to 'src/gui/widgets/AudioFaderBox.cpp')
-rw-r--r--src/gui/widgets/AudioFaderBox.cpp4
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