diff options
author | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-05-28 10:25:20 +0200 |
---|---|---|
committer | Eike Ziller <eike.ziller@theqtcompany.com> | 2015-05-28 09:22:08 +0000 |
commit | cdc76fccaf5d8e76f0ddcbb76cd66029a9a5d8f5 (patch) | |
tree | d9e09bc94ff764194ec7359dc739792d28b32e8c | |
parent | ed3c8f1f76cfd51b689ee43d1a79702de1aefc37 (diff) | |
download | qt-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.cpp | 2 |
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 |