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
Tobias Hunger
qt-creator
Commits
6712fa01
Commit
6712fa01
authored
Jan 30, 2009
by
con
Browse files
Fixes: - Unitialized variable.
parent
7968a7d6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
6712fa01
...
...
@@ -1236,6 +1236,8 @@ void EditorManager::addCurrentPositionToNavigationHistory(bool compress)
if
((
previousLocation
->
editor
&&
editor
==
previousLocation
->
editor
)
||
(
!
fileName
.
isEmpty
()
&&
previousLocation
->
fileName
==
fileName
))
{
firstIndexToRemove
=
m_d
->
currentNavigationHistoryPosition
;
}
else
{
firstIndexToRemove
=
m_d
->
currentNavigationHistoryPosition
+
1
;
}
}
else
{
firstIndexToRemove
=
m_d
->
currentNavigationHistoryPosition
+
1
;
...
...
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