summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/SynthPluginManagerDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/studio/SynthPluginManagerDialog.cpp')
-rw-r--r--src/gui/studio/SynthPluginManagerDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/studio/SynthPluginManagerDialog.cpp b/src/gui/studio/SynthPluginManagerDialog.cpp
index de2c3d0..4feb191 100644
--- a/src/gui/studio/SynthPluginManagerDialog.cpp
+++ b/src/gui/studio/SynthPluginManagerDialog.cpp
@@ -236,7 +236,7 @@ SynthPluginManagerDialog::SynthPluginManagerDialog(TQWidget *parent,
int instrumentNo = -1;
for (unsigned int i = 0; i < m_guiButtons.size(); ++i) {
- if (TQT_BASE_OBJECT_CONST(s) == TQT_BASE_OBJECT(m_guiButtons[i]))
+ if (s == m_guiButtons[i])
instrumentNo = i;
}
@@ -258,7 +258,7 @@ SynthPluginManagerDialog::SynthPluginManagerDialog(TQWidget *parent,
int instrumentNo = -1;
for (unsigned int i = 0; i < m_controlsButtons.size(); ++i) {
- if (TQT_BASE_OBJECT_CONST(s) == TQT_BASE_OBJECT(m_controlsButtons[i]))
+ if (s == m_controlsButtons[i])
instrumentNo = i;
}
@@ -283,7 +283,7 @@ SynthPluginManagerDialog::SynthPluginManagerDialog(TQWidget *parent,
int instrumentNo = -1;
for (unsigned int i = 0; i < m_synthCombos.size(); ++i) {
- if (TQT_BASE_OBJECT_CONST(s) == TQT_BASE_OBJECT(m_synthCombos[i]))
+ if (s == m_synthCombos[i])
instrumentNo = i;
}