diff options
Diffstat (limited to 'kommander/editor/connectioneditorimpl.cpp')
-rw-r--r-- | kommander/editor/connectioneditorimpl.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kommander/editor/connectioneditorimpl.cpp b/kommander/editor/connectioneditorimpl.cpp index aa1c9f61..98286498 100644 --- a/kommander/editor/connectioneditorimpl.cpp +++ b/kommander/editor/connectioneditorimpl.cpp @@ -92,9 +92,9 @@ static const char *const ignore_signals[] = { ConnectionEditor::ConnectionEditor(TQWidget* parent, TQObject* sndr, TQObject* rcvr, FormWindow* fw) : ConnectionEditorBase(parent, 0, true), m_formWindow(fw) { - if (!rcvr || TQT_BASE_OBJECT(rcvr) == TQT_BASE_OBJECT(m_formWindow)) + if (!rcvr || rcvr == m_formWindow) rcvr = TQT_TQOBJECT(m_formWindow->mainContainer()); - if (!sndr || TQT_BASE_OBJECT(sndr) == TQT_BASE_OBJECT(m_formWindow)) + if (!sndr || sndr == m_formWindow) sndr = TQT_TQOBJECT(m_formWindow->mainContainer()); m_sender = sndr; m_receiver = rcvr; @@ -279,7 +279,7 @@ void ConnectionEditor::senderChanged(const TQString& s) for (TQStrListIterator it(p_sigs); it.current(); ++it) if (!isSignalIgnored(it.current()) && !signalBox->findItem(it.current(), TQt::ExactMatch)) signalBox->insertItem(it.current()); - if (TQT_BASE_OBJECT(m_sender) == TQT_BASE_OBJECT(m_formWindow->mainContainer())) + if (m_sender == m_formWindow->mainContainer()) signalBox->insertStringList(MetaDataBase::signalList(TQT_TQOBJECT(m_formWindow))); signalBox->sort(); signalBox->setCurrentItem(signalBox->firstItem()); |