summaryrefslogtreecommitdiffstats
path: root/src/corelib/global
diff options
context:
space:
mode:
authorOswald Buddenhagen <oswald.buddenhagen@digia.com>2015-03-02 09:23:07 +0100
committerOswald Buddenhagen <oswald.buddenhagen@digia.com>2015-03-02 09:23:07 +0100
commit2b5982aac8ad103443e33379fe5654f5bd419c87 (patch)
tree8cc1d4e00029a6c0f5a23d87e9c97cdfc4619538 /src/corelib/global
parentefe3f631f232e6cc3966de59b9237653bf7fa96e (diff)
parentfc3733cba4652f2b8930c66665103fcb20874735 (diff)
Merge remote-tracking branch 'origin/5.4' into 5.5
Diffstat (limited to 'src/corelib/global')
-rw-r--r--src/corelib/global/qlibraryinfo.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/corelib/global/qlibraryinfo.cpp b/src/corelib/global/qlibraryinfo.cpp
index d9cda29e66..322fc2f651 100644
--- a/src/corelib/global/qlibraryinfo.cpp
+++ b/src/corelib/global/qlibraryinfo.cpp
@@ -457,8 +457,10 @@ QLibraryInfo::rawLocation(LibraryLocation loc, PathGroup group)
defaultValue = QLatin1String(qtConfEntries[loc].value);
}
#ifndef Q_OS_WIN // On Windows we use the registry
- else if (loc == SettingsPath)
+ else if (loc == SettingsPath) {
key = QLatin1String("Settings");
+ defaultValue = QLatin1String(".");
+ }
#endif
if(!key.isNull()) {