Skip to content
GitLab
Menu
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
c6dfc92d
Commit
c6dfc92d
authored
Mar 22, 2010
by
Thorbjørn Lindeijer
Browse files
Added standard icon to 'Revert to Saved' action
parent
66543381
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/coreplugin/editormanager/editormanager.cpp
View file @
c6dfc92d
...
...
@@ -279,6 +279,7 @@ EditorManager::EditorManager(ICore *core, QWidget *parent) :
ActionContainer
*
mfile
=
am
->
actionContainer
(
Constants
::
M_FILE
);
// Revert to saved
m_d
->
m_revertToSavedAction
->
setIcon
(
QIcon
::
fromTheme
(
QLatin1String
(
"document-revert"
)));
Command
*
cmd
=
am
->
registerAction
(
m_d
->
m_revertToSavedAction
,
Constants
::
REVERTTOSAVED
,
editManagerContext
);
cmd
->
setAttribute
(
Command
::
CA_UpdateText
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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