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
f14f9d1f
Commit
f14f9d1f
authored
Apr 29, 2011
by
Oswald Buddenhagen
Browse files
simplify copying of map
parent
ffd428f2
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
f14f9d1f
...
...
@@ -1749,17 +1749,9 @@ bool EditorManager::restoreState(const QByteArray &state)
if
(
version
!=
"EditorManagerV4"
)
return
false
;
QMap
<
QString
,
QVariant
>
editorstates
;
QApplication
::
setOverrideCursor
(
Qt
::
WaitCursor
);
stream
>>
editorstates
;
QMapIterator
<
QString
,
QVariant
>
i
(
editorstates
);
while
(
i
.
hasNext
())
{
i
.
next
();
m_d
->
m_editorStates
.
insert
(
i
.
key
(),
i
.
value
());
}
stream
>>
m_d
->
m_editorStates
;
int
editorCount
=
0
;
stream
>>
editorCount
;
...
...
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