From 86fed9b788837a7f02086639225c66ecd83065e1 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 21 Dec 2023 11:50:29 +0900 Subject: Replace various '#define' strings - part 6 Signed-off-by: Michele Calgaro (cherry picked from commit 9e553028bac0f0d934926318a7b13aa4d8474b27) --- kommander/executor/instance.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kommander/executor/instance.cpp') diff --git a/kommander/executor/instance.cpp b/kommander/executor/instance.cpp index 43cf6c13..b746ec97 100644 --- a/kommander/executor/instance.cpp +++ b/kommander/executor/instance.cpp @@ -121,7 +121,7 @@ bool Instance::build(const KURL& fname) window->setFileName(fname.path().local8Bit()); // FIXME : Should verify that all of the widgets in the dialog derive from KommanderWidget - m_textInstance = kommanderWidget(TQT_TQOBJECT(m_instance)); + m_textInstance = kommanderWidget(m_instance); if (!m_textInstance) // Main dialog/window is not a Kommander widget - look for one { @@ -437,7 +437,7 @@ TQStringList Instance::children(const TQString& parent, bool recursive) TQObject* child = stringToWidget(parent); TQObjectList* widgets; if (!child) - child = TQT_TQOBJECT(m_instance); + child = m_instance; if (child->inherits("TQWidget")) { widgets = child->queryList("TQWidget", 0, false, recursive); -- cgit v1.2.1