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 5f46eff..f596f1c 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.contains(sdevice)) + if(!devList.tqcontains(sdevice)) devList.append(sdevice); } else { - if(devList.contains(sdevice)) + if(devList.tqcontains(sdevice)) devList.remove(sdevice); } config->writeEntry("midirecorddevice", devList); |