WinRT: Do not forget the path specification

The path value can be used to access any container or subcontainer
in the settings, even if it is not created by Qt.

Change-Id: I431d8a8b129dafb4ec85227421dc37ec76c18ecf
Reviewed-by: Andrew Knight <andrew.knight@digia.com>
This commit is contained in:
Maurice Kalinowski 2014-08-19 08:06:21 +02:00
parent 2ffcf3a423
commit c73fe94285

View File

@ -324,7 +324,7 @@ QWinRTSettingsPrivate::QWinRTSettingsPrivate(QSettings::Scope scope, const QStri
}
QWinRTSettingsPrivate::QWinRTSettingsPrivate(QString rPath)
: QSettingsPrivate(QSettings::NativeFormat)
: QSettingsPrivate(QSettings::NativeFormat, QSettings::UserScope, rPath, QString())
, writeContainer(0)
{
init(QSettings::UserScope);