/[svn]/qsampler/trunk/src/qsamplerMainForm.ui.h
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerMainForm.ui.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 664 by capela, Sat Jun 18 22:44:56 2005 UTC revision 680 by capela, Thu Jun 23 22:54:14 2005 UTC
# Line 387  void qsamplerMainForm::customEvent ( QCu Line 387  void qsamplerMainForm::customEvent ( QCu
387      // For the time being, just pump it to messages.      // For the time being, just pump it to messages.
388      if (pCustomEvent->type() == QSAMPLER_CUSTOM_EVENT) {      if (pCustomEvent->type() == QSAMPLER_CUSTOM_EVENT) {
389          qsamplerCustomEvent *pEvent = (qsamplerCustomEvent *) pCustomEvent;          qsamplerCustomEvent *pEvent = (qsamplerCustomEvent *) pCustomEvent;
         appendMessagesColor(tr("Notify event: %1 data: %2")  
             .arg(::lscp_event_to_text(pEvent->event()))  
             .arg(pEvent->data()), "#996699");  
390                  if (pEvent->event() == LSCP_EVENT_CHANNEL_INFO) {                  if (pEvent->event() == LSCP_EVENT_CHANNEL_INFO) {
391                          int iChannelID = pEvent->data().toInt();                          int iChannelID = pEvent->data().toInt();
392                          qsamplerChannelStrip *pChannelStrip = channelStrip(iChannelID);                          qsamplerChannelStrip *pChannelStrip = channelStrip(iChannelID);
393                          if (pChannelStrip)                          if (pChannelStrip)
394                                  channelStripChanged(pChannelStrip);                                  channelStripChanged(pChannelStrip);
395                    } else {
396                            appendMessagesColor(tr("Notify event: %1 data: %2")
397                                    .arg(::lscp_event_to_text(pEvent->event()))
398                                    .arg(pEvent->data()), "#996699");
399                  }                  }
400      }      }
401  }  }

Legend:
Removed from v.664  
changed lines
  Added in v.680

  ViewVC Help
Powered by ViewVC