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
bb567ef6
Commit
bb567ef6
authored
Dec 01, 2009
by
mae
Committed by
Thorbjørn Lindeijer
Dec 02, 2009
Browse files
suppress useless warning
(cherry picked from commit
982f97e4
)
parent
19ac943c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editorview.cpp
View file @
bb567ef6
...
...
@@ -487,9 +487,9 @@ void EditorView::updateEditorHistory(IEditor *editor)
void
EditorView
::
addCurrentPositionToNavigationHistory
(
IEditor
*
editor
,
const
QByteArray
&
saveState
)
{
if
(
editor
&&
editor
!=
currentEditor
())
{
qDebug
()
<<
Q_FUNC_INFO
<<
"this should not happen!"
;
return
;
return
;
// we only save editor sate for the current editor, when the user interacts
}
if
(
!
editor
)
editor
=
currentEditor
();
if
(
!
editor
)
...
...
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