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
Utilities
Kate
Commits
cccdcf7c
Commit
cccdcf7c
authored
Jan 20, 2022
by
Ahmad Samir
Browse files
Don't show
file:///
for local files
parent
ded94b65
Pipeline
#133741
passed with stage
in 4 minutes and 38 seconds
Changes
1
Pipelines
3
Hide whitespace changes
Inline
Side-by-side
kate/katefileactions.cpp
View file @
cccdcf7c
...
...
@@ -100,7 +100,10 @@ void KateFileActions::renameDocumentFile(QWidget *parent, KTextEditor::Document
doc
->
openUrl
(
copyJob
->
destUrl
());
doc
->
documentSavedOrUploaded
(
doc
,
true
);
}
else
{
KMessageBox
::
sorry
(
parent
,
i18n
(
"File
\"
%1
\"
could not be moved to
\"
%2
\"
"
,
oldFileUrl
.
toDisplayString
(),
copyJob
->
destUrl
().
toDisplayString
()));
KMessageBox
::
sorry
(
parent
,
i18n
(
"File
\"
%1
\"
could not be moved to
\"
%2
\"
"
,
oldFileUrl
.
toDisplayString
(
QUrl
::
PreferLocalFile
),
copyJob
->
destUrl
().
toDisplayString
(
QUrl
::
PreferLocalFile
)));
doc
->
openUrl
(
oldFileUrl
);
}
});
...
...
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