summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@theqtcompany.com>2015-05-28 10:25:20 +0200
committerEike Ziller <eike.ziller@theqtcompany.com>2015-05-28 09:22:08 +0000
commitcdc76fccaf5d8e76f0ddcbb76cd66029a9a5d8f5 (patch)
treed9e09bc94ff764194ec7359dc739792d28b32e8c
parented3c8f1f76cfd51b689ee43d1a79702de1aefc37 (diff)
downloadqt-creator-cdc76fccaf5d8e76f0ddcbb76cd66029a9a5d8f5.tar.gz
Help: Fix that user registered documentation was auto-removed on windows
We may not use native path separators for internal data. Task-number: QTCREATORBUG-14249 Change-Id: I0f00db235608e81cfefdd2359378020c7376768f Reviewed-by: Alessandro Portale <alessandro.portale@theqtcompany.com>
-rw-r--r--src/plugins/help/docsettingspage.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/help/docsettingspage.cpp b/src/plugins/help/docsettingspage.cpp
index a1d3eff3c7..2de972a2ff 100644
--- a/src/plugins/help/docsettingspage.cpp
+++ b/src/plugins/help/docsettingspage.cpp
@@ -103,7 +103,7 @@ void DocSettingsPage::addDocumentation()
}
addItem(nameSpace, file, true/*user managed*/);
- m_filesToRegister.insert(nameSpace, QDir::toNativeSeparators(filePath));
+ m_filesToRegister.insert(nameSpace, filePath);
m_filesToRegisterUserManaged.insert(nameSpace, true/*user managed*/);
// If the files to unregister contains the namespace, grab a copy of all paths added and try to