diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2013-08-25 00:07:24 +0400 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-08-24 22:37:56 +0200 |
commit | 7ecd8db87105948a9e8978d2464c9157f81bb1c7 (patch) | |
tree | 4fd7ac0c29150c562d7f918c21e3f227cd9107fc | |
parent | 3ce7f4bd74ab46d1c01f15ce037af2b69058f881 (diff) | |
download | qtserialport-7ecd8db87105948a9e8978d2464c9157f81bb1c7.tar.gz |
Linux: Are added the missed QLatin1Char into libudev implementation
Change-Id: Ic125079bd9154f9094aaf2878c514eeac2753038
Reviewed-by: Sergey Belyashov <Sergey.Belyashov@gmail.com>
Reviewed-by: Laszlo Papp <lpapp@kde.org>
-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 fec1b4a..7018880 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, |