/[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 468 by capela, Tue Mar 15 15:32:29 2005 UTC revision 469 by capela, Wed Mar 16 17:56:46 2005 UTC
# Line 694  bool qsamplerMainForm::saveSessionFile ( Line 694  bool qsamplerMainForm::saveSessionFile (
694                                     << "='" << portParam.data().value << "'" << endl;                                     << "='" << portParam.data().value << "'" << endl;
695                          }                          }
696                  }                  }
697                  // Set device index/id mapping.                  // Audio device index/id mapping.
698                  audioDeviceMap[device.deviceID()] = iDevice;                  audioDeviceMap[device.deviceID()] = iDevice;
699          // Try to keep it snappy :)          // Try to keep it snappy :)
700          QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);          QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);
# Line 731  bool qsamplerMainForm::saveSessionFile ( Line 731  bool qsamplerMainForm::saveSessionFile (
731                                     << "='" << portParam.data().value << "'" << endl;                                     << "='" << portParam.data().value << "'" << endl;
732                          }                          }
733                  }                  }
734                    // MIDI device index/id mapping.
735                    midiDeviceMap[device.deviceID()] = iDevice;
736            // Try to keep it snappy :)
737            QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);
738          }          }
739          ts << endl;          ts << endl;
740          // Sampler channel mapping.          // Sampler channel mapping.
# Line 1397  void qsamplerMainForm::updateSession (vo Line 1401  void qsamplerMainForm::updateSession (vo
1401                  QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);                  QApplication::eventLoop()->processEvents(QEventLoop::ExcludeUserInput);
1402          }          }
1403          m_pWorkspace->setUpdatesEnabled(true);          m_pWorkspace->setUpdatesEnabled(true);
1404            
1405            // Remember to refresh devices
1406            if (m_pDeviceForm)
1407                m_pDeviceForm->refreshDevices();
1408  }  }
1409    
1410    

Legend:
Removed from v.468  
changed lines
  Added in v.469

  ViewVC Help
Powered by ViewVC