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

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

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

revision 488 by capela, Thu Mar 31 16:26:40 2005 UTC revision 489 by capela, Thu Mar 31 16:40:32 2005 UTC
# Line 321  void qsamplerChannelForm::updateInstrume Line 321  void qsamplerChannelForm::updateInstrume
321  // Show device options dialog.  // Show device options dialog.
322  void qsamplerChannelForm::setupDevice ( qsamplerDevice *pDevice )  void qsamplerChannelForm::setupDevice ( qsamplerDevice *pDevice )
323  {  {
         if (pDevice == NULL)  
             return;  
   
324          // Create the device form if not already...          // Create the device form if not already...
325          if (m_pDeviceForm == NULL) {          if (m_pDeviceForm == NULL) {
326                  m_pDeviceForm = new qsamplerDeviceForm(this, 0,                  m_pDeviceForm = new qsamplerDeviceForm(this, 0,
# Line 336  void qsamplerChannelForm::setupDevice ( Line 333  void qsamplerChannelForm::setupDevice (
333          // Refresh the device form with selected data.          // Refresh the device form with selected data.
334          if (m_pDeviceForm) {          if (m_pDeviceForm) {
335                  m_pDeviceForm->setClient(m_pChannel->client()); // <-- refreshDevices().                  m_pDeviceForm->setClient(m_pChannel->client()); // <-- refreshDevices().
336                  m_pDeviceForm->setDevice(pDevice->deviceType(),                  if (pDevice)
337                          pDevice->deviceID());                          m_pDeviceForm->setDevice(pDevice->deviceType(), pDevice->deviceID());
338                  m_pDeviceForm->show();                  m_pDeviceForm->show();
339          }          }
340  }  }

Legend:
Removed from v.488  
changed lines
  Added in v.489

  ViewVC Help
Powered by ViewVC