summaryrefslogtreecommitdiffstats
path: root/src/gui/application/RosegardenGUIApp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/application/RosegardenGUIApp.cpp')
-rw-r--r--src/gui/application/RosegardenGUIApp.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/application/RosegardenGUIApp.cpp b/src/gui/application/RosegardenGUIApp.cpp
index af1edf4..29d2bc2 100644
--- a/src/gui/application/RosegardenGUIApp.cpp
+++ b/src/gui/application/RosegardenGUIApp.cpp
@@ -6902,7 +6902,7 @@ RosegardenGUIApp::slotControlEditorClosed()
for (std::set
<ControlEditorDialog *>::iterator i = m_controlEditors.begin();
i != m_controlEditors.end(); ++i) {
- if (TQT_BASE_OBJECT(*i) == TQT_BASE_OBJECT_CONST(s)) {
+ if (*i == s) {
m_controlEditors.erase(i);
RG_DEBUG << "removed control editor dialog, have " << m_controlEditors.size() << " left" << endl;
return ;
@@ -7028,7 +7028,7 @@ RosegardenGUIApp::slotPluginSelected(InstrumentId instrumentId,
{
const TQObject *s = sender();
- bool fromSynthMgr = (TQT_BASE_OBJECT_CONST(s) == TQT_BASE_OBJECT(m_synthManager));
+ bool fromSynthMgr = (s == m_synthManager);
// It's assumed that ports etc will already have been set up on
// the AudioPluginInstance before this is invoked.