Commit cdc76fcc authored by Eike Ziller's avatar Eike Ziller

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: default avatarAlessandro Portale <alessandro.portale@theqtcompany.com>
parent ed3c8f1f
......@@ -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
......
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