Members of the KDE Community are recommended to subscribe to the kde-community mailing list at https://mail.kde.org/mailman/listinfo/kde-community to allow them to participate in important discussions and receive other important announcements

Commit 1aa12f1d authored by Eike Hein's avatar Eike Hein

Add standard keyboard shortcut for refresh

Summary: BUG:381505

Reviewers: #plasma

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D6447
parent a7b8fec2
......@@ -885,6 +885,8 @@ Item {
dir.cut();
} else if (event.matches(StandardKey.Undo)) {
dir.undo();
} else if (event.matches(StandardKey.Refresh)) {
dir.refresh();
}
}
......
......@@ -217,6 +217,7 @@ class FolderModel : public QSortFilterProxyModel
Q_INVOKABLE void deleteSelected();
Q_INVOKABLE void openSelected();
Q_INVOKABLE void undo();
Q_INVOKABLE void refresh();
Q_SIGNALS:
void urlChanged() const;
......@@ -255,7 +256,6 @@ class FolderModel : public QSortFilterProxyModel
void evictFromIsDirCache(const KFileItemList &items);
void selectionChanged(QItemSelection selected, QItemSelection deselected);
void pasteTo();
void refresh();
void moveSelectedToTrash();
void emptyTrashBin();
void restoreSelectedFromTrash();
......
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