diff options
author | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-09-06 14:34:54 +0200 |
---|---|---|
committer | Sergio Ahumada <sergio.ahumada@digia.com> | 2013-09-06 14:35:03 +0200 |
commit | 3536380beb3b91ebbe4138282cb6ddf814c571e8 (patch) | |
tree | b8374720ab25e8639b0f2dbba5456a63435e6133 /src/serialport/qserialportinfo_unix.cpp | |
parent | 1d0dcbbafde9199ef754a285f6c927b98be28807 (diff) | |
parent | 6bd56edb87f14074a15fde141d9d6f52d01de366 (diff) |
Merge branch 'stable' into dev
Change-Id: Ie8f70b5101225453355a1eb6b0fdc3f3d8a34824
Diffstat (limited to 'src/serialport/qserialportinfo_unix.cpp')
-rw-r--r-- | src/serialport/qserialportinfo_unix.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/serialport/qserialportinfo_unix.cpp b/src/serialport/qserialportinfo_unix.cpp index 6344e052..1856c0e0 100644 --- a/src/serialport/qserialportinfo_unix.cpp +++ b/src/serialport/qserialportinfo_unix.cpp @@ -144,10 +144,10 @@ QList<QSerialPortInfo> QSerialPortInfo::availablePorts() // Append this devices and try get additional information about them. serialPortInfo.d_ptr->description = QString( QLatin1String(::udev_device_get_property_value(dev, - "ID_MODEL"))).replace('_', ' '); + "ID_MODEL"))).replace(QLatin1Char('_'), QLatin1Char(' ')); serialPortInfo.d_ptr->manufacturer = QString( QLatin1String(::udev_device_get_property_value(dev, - "ID_VENDOR"))).replace('_', ' '); + "ID_VENDOR"))).replace(QLatin1Char('_'), QLatin1Char(' ')); serialPortInfo.d_ptr->vendorIdentifier = QString::fromLatin1(::udev_device_get_property_value(dev, |