/[svn]/qsampler/trunk/src/qsamplerDeviceForm.cpp
ViewVC logotype

Diff of /qsampler/trunk/src/qsamplerDeviceForm.cpp

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

revision 1473 by capela, Mon Nov 5 19:07:26 2007 UTC revision 1474 by schoenebeck, Mon Nov 5 20:47:38 2007 UTC
# Line 135  void DeviceForm::setDeviceTypeMode ( Line 135  void DeviceForm::setDeviceTypeMode (
135  // Device driver name setup formal initializer.  // Device driver name setup formal initializer.
136  void DeviceForm::setDriverName ( const QString& sDriverName )  void DeviceForm::setDriverName ( const QString& sDriverName )
137  {  {
138          if (ui.DriverNameComboBox->findText(sDriverName) == 0) {          if (ui.DriverNameComboBox->findText(sDriverName) < 0) {
139                  ui.DriverNameComboBox->insertItem(sDriverName);                  ui.DriverNameComboBox->insertItem(sDriverName);
140          }          }
141          ui.DriverNameComboBox->setCurrentText(sDriverName);          ui.DriverNameComboBox->setCurrentText(sDriverName);

Legend:
Removed from v.1473  
changed lines
  Added in v.1474

  ViewVC Help
Powered by ViewVC