diff options
author | Thiago Macieira <thiago.macieira@intel.com> | 2012-05-03 15:43:50 +0200 |
---|---|---|
committer | Qt by Nokia <qt-info@nokia.com> | 2012-05-03 15:54:17 +0200 |
commit | 1d500479de36c8d7709a5a029c9bdd57a52c1077 (patch) | |
tree | 477023969dd0810f0c13321b3ceecf811d191e86 /src/designer/src/lib/sdk/abstractintegration.cpp | |
parent | e68cbe6a7d61611dc048edd82cfba716b443a474 (diff) |
Change uses of {to,from}Ascii to {to,from}Latin1 [Designer]
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: Ifb4b164024dd1e75b2f24962e6d5d1816dca5916
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@nokia.com>
Diffstat (limited to 'src/designer/src/lib/sdk/abstractintegration.cpp')
-rw-r--r-- | src/designer/src/lib/sdk/abstractintegration.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/designer/src/lib/sdk/abstractintegration.cpp b/src/designer/src/lib/sdk/abstractintegration.cpp index b86de92dc..0a74fcea8 100644 --- a/src/designer/src/lib/sdk/abstractintegration.cpp +++ b/src/designer/src/lib/sdk/abstractintegration.cpp @@ -381,12 +381,12 @@ void QDesignerIntegrationPrivate::initialize() QFile f(m_gradientsPath); if (f.open(QIODevice::ReadOnly)) { - QtGradientUtils::restoreState(m_gradientManager, QString::fromAscii(f.readAll())); + QtGradientUtils::restoreState(m_gradientManager, QString::fromLatin1(f.readAll())); f.close(); } else { QFile defaultGradients(QStringLiteral(":/qt-project.org/designer/defaultgradients.xml")); if (defaultGradients.open(QIODevice::ReadOnly)) { - QtGradientUtils::restoreState(m_gradientManager, QString::fromAscii(defaultGradients.readAll())); + QtGradientUtils::restoreState(m_gradientManager, QString::fromLatin1(defaultGradients.readAll())); defaultGradients.close(); } } |