You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/kde-frameworks/plasma/files/plasma-5.71.0-access-expand...

30 lines
1.1 KiB

From 7f9e189d87c040a952533713ff48d32872e0eadd Mon Sep 17 00:00:00 2001
From: Nate Graham <nate@kde.org>
Date: Sun, 7 Jun 2020 08:46:39 -0600
Subject: [PATCH] Add property to access the ExpandableListItem loader's item
---
.../plasmaextracomponents/qml/ExpandableListItem.qml | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml b/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml
index d9d0662ee..ed21ab8e4 100644
--- a/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml
+++ b/src/declarativeimports/plasmaextracomponents/qml/ExpandableListItem.qml
@@ -261,6 +261,12 @@ Item {
*/
property var customExpandedViewContent: actionsListComponent
+ /*
+ * The actual instance of the custom view content, if loaded
+ * @since 5.72
+ */
+ property alias customExpandedViewContentItem: expandedView.item
+
/*
* isBusy: bool
* Whether or not to display a busy indicator on the list item. Set to true
--
2.27.0