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
096a7aa7
Commit
096a7aa7
authored
Mar 30, 2011
by
Oswald Buddenhagen
Browse files
remove superfluous argument
no need to pass in the current file name
parent
e35fe2a7
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/plugins/fakevim/fakevimplugin.cpp
View file @
096a7aa7
...
...
@@ -1466,7 +1466,7 @@ void FakeVimPluginPrivate::handleExCommand(bool *handled, const ExCommand &cmd)
const
QString
fileName
=
handler
->
currentFileName
();
if
(
editor
&&
editor
->
file
()
->
fileName
()
==
fileName
)
{
// Handle that as a special case for nicer interaction with core
Core
::
ICore
::
instance
()
->
fileManager
()
->
saveFile
(
editor
->
file
()
,
fileName
);
Core
::
ICore
::
instance
()
->
fileManager
()
->
saveFile
(
editor
->
file
());
// Check result by reading back.
QFile
file3
(
fileName
);
file3
.
open
(
QIODevice
::
ReadOnly
);
...
...
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