Commit cccdcf7c authored by Ahmad Samir's avatar Ahmad Samir
Browse files

Don't show file:/// for local files

parent ded94b65
Pipeline #133741 passed with stage
in 4 minutes and 38 seconds
......@@ -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);
}
});
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment