Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Marco Bubke
flatpak-qt-creator
Commits
a59f7663
Commit
a59f7663
authored
Apr 29, 2009
by
Friedemann Kleint
Browse files
Introduce case insensitive matching of text marks on Windows.
For CDB debugger location marks.
parent
88a0d0d9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/texteditor/basetextmark.cpp
View file @
a59f7663
...
...
@@ -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
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment