Commit efa79035 authored by Daniel Teske's avatar Daniel Teske
Browse files

Convert slashes on restoring sbs and epoc directory

Apparently there are some users with wrong slashes in their settings.
I'm not sure how that happened, but better be safe.

Task-Nr: QTCREATORBUG-5969

Change-Id: Ifb7cc392e53d84da916d06e546ceff02057c6014
Reviewed-on: http://codereview.qt.nokia.com/4133

Reviewed-by: default avatarQt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: default avatarDaniel Teske <daniel.teske@nokia.com>
parent e6849605
......@@ -151,8 +151,8 @@ void SymbianQtVersion::restoreLegacySettings(QSettings *s)
void SymbianQtVersion::fromMap(const QVariantMap &map)
{
BaseQtVersion::fromMap(map);
setSbsV2Directory(map.value(QLatin1String("SBSv2Directory")).toString());
setSystemRoot(map.value(QLatin1String("SystemRoot")).toString());
setSbsV2Directory(QDir::fromNativeSeparators(map.value(QLatin1String("SBSv2Directory")).toString()));
setSystemRoot(QDir::fromNativeSeparators(map.value(QLatin1String("SystemRoot")).toString()));
}
QVariantMap SymbianQtVersion::toMap() const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment