diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:43:15 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-16 22:18:34 +0900 |
commit | 2ec11ba03e87e734e3fa95f59385049feb82098b (patch) | |
tree | fbe69ff562e758268f3be479356b48b03e67bbd2 /src/gui/application | |
parent | 5f88991f1f2ff15f859d2cbd701f26c378841fe0 (diff) | |
download | rosegarden-2ec11ba03e87e734e3fa95f59385049feb82098b.tar.gz rosegarden-2ec11ba03e87e734e3fa95f59385049feb82098b.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'src/gui/application')
-rw-r--r-- | src/gui/application/RosegardenGUIApp.cpp | 4 |
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. |