aboutsummaryrefslogtreecommitdiffstats
path: root/community/plasma-framework/fix-423093.patch
blob: f1a412ac2cee857acfef76ab8cdc8d47229cdd93 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
Requested to backport by upstream to fix KDE bug 423093
https://bugs.kde.org/show_bug.cgi?id=423093

This has been merged upstream already and will be unnecessary with the
next framework release

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
-- 
GitLab