[multimedia/kasts] src/qml: Hide some actions
Bart De Vries <[email protected]>
| Newsgroups | gmane.comp.kde.cvs |
|---|---|
| Message-ID | <[email protected]> |
Git commit d108e01e4cd086f5f3008ec5830710d286625fba by Bart De Vries, on behalf of Tobias Fella.
Committed on 03/08/2026 at 07:37.
Pushed by bdevries into branch 'master'.
Hide some actions
M +2 -0 src/qml/FeedListGridView.qml
M +1 -0 src/qml/FeedListPage.qml
https://invent.kde.org/multimedia/kasts/-/commit/d108e01e4cd086f5f3008ec5830710d286625fba
diff --git a/src/qml/FeedListGridView.qml b/src/qml/FeedListGridView.qml
index a9eae785..aeccd8b9 100644
--- a/src/qml/FeedListGridView.qml
+++ b/src/qml/FeedListGridView.qml
@@ -213,6 +213,7 @@ GridView {
icon.name: "edit-select-all"
text: KI18n.i18nc("@action:intoolbar", "Select All")
visible: true
+ displayHint: Kirigami.DisplayHint.AlwaysHide
onTriggered: {
root.selectionModel.select(root.model.index(0, 0), ItemSelectionModel.ClearAndSelect | ItemSelectionModel.Columns);
}
@@ -221,6 +222,7 @@ GridView {
property Kirigami.Action selectNoneAction: Kirigami.Action {
icon.name: "edit-select-none"
text: KI18n.i18nc("@action:intoolbar", "Deselect All")
+ displayHint: Kirigami.DisplayHint.AlwaysHide
visible: root.selectionModel.hasSelection
onTriggered: {
root.selectionModel.clearSelection();
diff --git a/src/qml/FeedListPage.qml b/src/qml/FeedListPage.qml
index 8b655976..b99a9ca2 100644
--- a/src/qml/FeedListPage.qml
+++ b/src/qml/FeedListPage.qml
@@ -61,6 +61,7 @@ Kirigami.ScrollablePage {
id: sortActionRoot
icon.name: "view-sort"
text: KI18n.i18nc("@action:intoolbar Open menu with options to sort subscriptions", "Sort")
+ displayHint: Kirigami.DisplayHint.AlwaysHide
tooltip: KI18n.i18nc("@info:tooltip", "Select how to sort subscriptions")