diff options
Diffstat (limited to 'src/gui/studio/ChangeRecordDeviceCommand.cpp')
-rw-r--r-- | src/gui/studio/ChangeRecordDeviceCommand.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/studio/ChangeRecordDeviceCommand.cpp b/src/gui/studio/ChangeRecordDeviceCommand.cpp index f596f1c..5f46eff 100644 --- a/src/gui/studio/ChangeRecordDeviceCommand.cpp +++ b/src/gui/studio/ChangeRecordDeviceCommand.cpp @@ -42,12 +42,12 @@ ChangeRecordDeviceCommand::swap() TQString sdevice = TQString::number(m_deviceId); if (m_action) { - if(!devList.tqcontains(sdevice)) + if(!devList.contains(sdevice)) devList.append(sdevice); } else { - if(devList.tqcontains(sdevice)) + if(devList.contains(sdevice)) devList.remove(sdevice); } config->writeEntry("midirecorddevice", devList); |