Skip to content
Snippets Groups Projects
Commit a59f7663 authored by Friedemann Kleint's avatar Friedemann Kleint
Browse files

Introduce case insensitive matching of text marks on Windows.

For CDB debugger location marks.
parent 88a0d0d9
No related branches found
No related tags found
No related merge requests found
......@@ -61,8 +61,13 @@ void BaseTextMark::init()
void BaseTextMark::editorOpened(Core::IEditor *editor)
{
#ifdef Q_OS_WIN
if (m_fileName.compare(editor->file()->fileName(), Qt::CaseInsensitive))
return;
#else
if (editor->file()->fileName() != m_fileName)
return;
#endif
if (ITextEditor *textEditor = qobject_cast<ITextEditor *>(editor)) {
if (m_markableInterface == 0) { // We aren't added to something
m_markableInterface = textEditor->markableInterface();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment