Group :: Sistema/Bibliotecas
RPM: kf5-kio
Main Changelog Spec Patches Sources Download Gear Bugs e FR Repocop
Patch: alt-copy-first.patch
Download
Download
--- a/src/widgets/dropjob.cpp
+++ b/src/widgets/dropjob.cpp
@@ -320,6 +320,10 @@ void DropJobPrivate::fillPopupMenu(KIO::
popupLinkAction->setIcon(QIcon::fromTheme(QStringLiteral("edit-link")));
popupLinkAction->setData(QVariant::fromValue(Qt::LinkAction));
+ if (sReading) {
+ popup->addAction(popupCopyAction);
+ }
+
if (sMoving || (sReading && sDeleting)) {
const bool equalDestination = std::all_of(m_urls.cbegin(), m_urls.cend(), [this](const QUrl &src) {
return m_destUrl.matches(src.adjusted(QUrl::RemoveFilename), QUrl::StripTrailingSlash);
@@ -330,10 +334,6 @@ void DropJobPrivate::fillPopupMenu(KIO::
}
}
- if (sReading) {
- popup->addAction(popupCopyAction);
- }
-
popup->addAction(popupLinkAction);
addPluginActions(popup, itemProps);