summaryrefslogtreecommitdiffstats
path: root/kommander/executor/instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kommander/executor/instance.cpp')
-rw-r--r--kommander/executor/instance.cpp4
1 files changed, 2 insertions, 2 deletions
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);