1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-04-05 05:12:05 -04:00

Fix global warnings

This commit is contained in:
purian23
2026-02-12 22:50:11 -05:00
committed by bbedward
parent 0772f6deb7
commit 00e6172a68
2 changed files with 11 additions and 4 deletions

View File

@@ -37,7 +37,8 @@ Rectangle {
Component.onCompleted: {
Qt.callLater(() => {
__initialized = true;
if (root)
root.__initialized = true;
});
}
@@ -341,6 +342,7 @@ Rectangle {
model: notificationGroup?.notifications?.slice(0, 10) || []
delegate: Rectangle {
id: expandedDelegate
required property var modelData
required property int index
readonly property bool messageExpanded: NotificationService.expandedMessages[modelData?.notification?.id] || false
@@ -352,7 +354,8 @@ Rectangle {
Component.onCompleted: {
Qt.callLater(() => {
__delegateInitialized = true;
if (expandedDelegate)
expandedDelegate.__delegateInitialized = true;
});
}