From 2ec11ba03e87e734e3fa95f59385049feb82098b Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 12 Aug 2023 18:43:15 +0900 Subject: Drop TQT_BASE_OBJECT* defines Signed-off-by: Michele Calgaro --- src/gui/application/RosegardenGUIApp.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/application') 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 ::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. -- cgit v1.2.1