summaryrefslogtreecommitdiffstats
path: root/src/sound/MappedDevice.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/sound/MappedDevice.cpp')
-rw-r--r--src/sound/MappedDevice.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/sound/MappedDevice.cpp b/src/sound/MappedDevice.cpp
index e5a9dd8..bc7fd39 100644
--- a/src/sound/MappedDevice.cpp
+++ b/src/sound/MappedDevice.cpp
@@ -137,8 +137,8 @@ operator>>(TQDataStream &dS, MappedDevice *mD)
dS >> recording;
mD->setId(id);
mD->setType(Device::DeviceType(dType));
- mD->setName(std::string(name.data()));
- mD->setConnection(connection.data());
+ mD->setName(std::string(name.ascii()));
+ mD->setConnection(connection.ascii());
mD->setDirection(MidiDevice::DeviceDirection(direction));
mD->setRecording((bool)recording);
@@ -182,8 +182,8 @@ operator>>(TQDataStream &dS, MappedDevice &mD)
dS >> recording;
mD.setId(id);
mD.setType(Device::DeviceType(dType));
- mD.setName(std::string(name.data()));
- mD.setConnection(connection.data());
+ mD.setName(std::string(name.ascii()));
+ mD.setConnection(connection.ascii());
mD.setDirection(MidiDevice::DeviceDirection(direction));
mD.setRecording((bool)recording);