forked from qt-creator/qt-creator
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>
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user