summaryrefslogtreecommitdiffstats
path: root/src/gui/studio/AudioMixerWindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/studio/AudioMixerWindow.cpp')
-rw-r--r--src/gui/studio/AudioMixerWindow.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/studio/AudioMixerWindow.cpp b/src/gui/studio/AudioMixerWindow.cpp
index 4715731..b5a6fa3 100644
--- a/src/gui/studio/AudioMixerWindow.cpp
+++ b/src/gui/studio/AudioMixerWindow.cpp
@@ -952,7 +952,7 @@ AudioMixerWindow::slotSelectPlugin()
for (std::vector<TQPushButton *>::iterator pli = i->second.m_plugins.begin();
pli != i->second.m_plugins.end(); ++pli) {
- if (TQT_BASE_OBJECT(*pli) == TQT_BASE_OBJECT_CONST(s)) {
+ if (*pli == s) {
emit selectPlugin(this, i->first, index);
return ;
@@ -975,7 +975,7 @@ AudioMixerWindow::slotSelectPlugin()
for (std::vector<TQPushButton *>::iterator pli = i->m_plugins.begin();
pli != i->m_plugins.end(); ++pli) {
- if (TQT_BASE_OBJECT(*pli) == TQT_BASE_OBJECT_CONST(s)) {
+ if (*pli == s) {
emit selectPlugin(this, b, index);
return ;
@@ -1062,7 +1062,7 @@ AudioMixerWindow::slotFaderLevelChanged(float dB)
BussList busses = m_studio->getBusses();
- if (TQT_BASE_OBJECT(m_master.m_fader) == TQT_BASE_OBJECT_CONST(s)) {
+ if (m_master.m_fader == s) {
if (busses.size() > 0) {
StudioControl::setStudioObjectProperty
@@ -1080,7 +1080,7 @@ AudioMixerWindow::slotFaderLevelChanged(float dB)
for (FaderVector::iterator i = m_submasters.begin();
i != m_submasters.end(); ++i) {
- if (TQT_BASE_OBJECT(i->m_fader) == TQT_BASE_OBJECT_CONST(s)) {
+ if (i->m_fader == s) {
if ((int)busses.size() > index) {
StudioControl::setStudioObjectProperty
(MappedObjectId(busses[index]->getMappedId()),
@@ -1100,7 +1100,7 @@ AudioMixerWindow::slotFaderLevelChanged(float dB)
for (FaderMap::iterator i = m_faders.begin();
i != m_faders.end(); ++i) {
- if (TQT_BASE_OBJECT(i->second.m_fader) == TQT_BASE_OBJECT_CONST(s)) {
+ if (i->second.m_fader == s) {
Instrument *instrument =
m_studio->getInstrumentById(i->first);
@@ -1147,7 +1147,7 @@ AudioMixerWindow::slotPanChanged(float pan)
for (FaderVector::iterator i = m_submasters.begin();
i != m_submasters.end(); ++i) {
- if (TQT_BASE_OBJECT(i->m_pan) == TQT_BASE_OBJECT_CONST(s)) {
+ if (i->m_pan == s) {
if ((int)busses.size() > index) {
StudioControl::setStudioObjectProperty
(MappedObjectId(busses[index]->getMappedId()),
@@ -1166,7 +1166,7 @@ AudioMixerWindow::slotPanChanged(float pan)
for (FaderMap::iterator i = m_faders.begin();
i != m_faders.end(); ++i) {
- if (TQT_BASE_OBJECT(i->second.m_pan) == TQT_BASE_OBJECT_CONST(s)) {
+ if (i->second.m_pan == s) {
Instrument *instrument =
m_studio->getInstrumentById(i->first);
@@ -1216,7 +1216,7 @@ AudioMixerWindow::slotChannelsChanged()
for (FaderMap::iterator i = m_faders.begin();
i != m_faders.end(); ++i) {
- if (TQT_BASE_OBJECT_CONST(s) == TQT_BASE_OBJECT(i->second.m_stereoButton)) {
+ if (s == i->second.m_stereoButton) {
Instrument *instrument =
m_studio->getInstrumentById(i->first);