diff options
author | Michele Calgaro <[email protected]> | 2023-08-12 18:43:15 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2023-08-16 23:26:07 +0900 |
commit | 45016a2fba12ee4dc9ff29854504ae79a24fda11 (patch) | |
tree | fbe69ff562e758268f3be479356b48b03e67bbd2 /src/gui/application | |
parent | 4015988ca8f98d6b4fc43cee6cdd3a5895b3c3ca (diff) | |
download | rosegarden-45016a2fba12ee4dc9ff29854504ae79a24fda11.tar.gz rosegarden-45016a2fba12ee4dc9ff29854504ae79a24fda11.zip |
Drop TQT_BASE_OBJECT* defines
Signed-off-by: Michele Calgaro <[email protected]>
(cherry picked from commit 2ec11ba03e87e734e3fa95f59385049feb82098b)
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. |