forked from qt-creator/qt-creator
C++: handle case-insensitive file names for project files.
... by keying on Utils::FileName. Task-number: QTCREATORBUG-12390 Change-Id: Ib99eefcf3440d4383f624a614a3093f427efffbd Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
committed by
Erik Verbruggen
parent
5a40c071a4
commit
7d377850d0
@@ -765,7 +765,7 @@ void CppEditorWidget::abortDeclDefLink()
|
||||
|
||||
void CppEditorWidget::showPreProcessorWidget()
|
||||
{
|
||||
const QString &fileName = textDocument()->filePath();
|
||||
const Utils::FileName fileName = Utils::FileName::fromString(textDocument()->filePath());
|
||||
|
||||
// Check if this editor belongs to a project
|
||||
QList<ProjectPart::Ptr> projectParts = d->m_modelManager->projectPart(fileName);
|
||||
|
||||
Reference in New Issue
Block a user