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
......@@ -61,8 +61,13 @@ void BaseTextMark::init()
void BaseTextMark::editorOpened(Core::IEditor *editor)
#ifdef Q_OS_WIN
if (>file()->fileName(), Qt::CaseInsensitive))
if (editor->file()->fileName() != m_fileName)
if (ITextEditor *textEditor = qobject_cast<ITextEditor *>(editor)) {
if (m_markableInterface == 0) { // We aren't added to something
m_markableInterface = textEditor->markableInterface();
Supports Markdown
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