diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-05-03 16:52:19 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-08 02:23:42 +0200 |
commit | f00ee657a579e6a0da34492c221c9ca2059a2db0 (patch) | |
tree | bbf9d132f1b89e4c48a4388a0e8ca845f90eaf78 /src/plugins/position/gypsy | |
parent | 88b6015918d6b113a45ea514bbd8083873609486 (diff) | |
download | qtlocation-f00ee657a579e6a0da34492c221c9ca2059a2db0.tar.gz |
Change uses of {to,from}Ascii to {to,from}Latin1
This operation should be a no-op anyway, since at this point in time,
the fromAscii and toAscii functions simply call their fromLatin1 and
toLatin1 counterparts.
Task-number: QTBUG-21872
Change-Id: I2e16486d80df6257ab88dc8c3b5d9dd497a19708
Reviewed-by: Aaron McCarthy <aaron.mccarthy@nokia.com>
Diffstat (limited to 'src/plugins/position/gypsy')
-rw-r--r-- | src/plugins/position/gypsy/qgeosatelliteinfosource_gypsy.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/position/gypsy/qgeosatelliteinfosource_gypsy.cpp b/src/plugins/position/gypsy/qgeosatelliteinfosource_gypsy.cpp index 9cc3a58c..cbfb31ae 100644 --- a/src/plugins/position/gypsy/qgeosatelliteinfosource_gypsy.cpp +++ b/src/plugins/position/gypsy/qgeosatelliteinfosource_gypsy.cpp @@ -232,7 +232,7 @@ int QGeoSatelliteInfoSourceGypsy::init() } device_name = m_engine->eng_gconf_client_get_string(client, "/apps/geoclue/master/org.freedesktop.Geoclue.GPSDevice", NULL); g_object_unref(client); - QString deviceName(QString::fromAscii(device_name)); + QString deviceName(QString::fromLatin1(device_name)); if (deviceName.isEmpty() || (deviceName.trimmed().at(0) == '/' && !QFile::exists(deviceName.trimmed()))) { qWarning ("QGeoSatelliteInfoSourceGypsy Empty/nonexistent GPS device name detected."); |