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

fix: QT notifs warning

This commit is contained in:
purian23
2026-02-10 21:38:25 -05:00
parent 9c4f4cbd0d
commit 3c2d60d8e1
4 changed files with 5 additions and 5 deletions

View File

@@ -99,7 +99,6 @@ DankModal {
}
return;
}
if (event.key === Qt.Key_Right) {
if (notificationHeaderRef && notificationHeaderRef.currentTab === 0 && SettingsData.notificationHistoryEnabled) {
notificationHeaderRef.currentTab = 1;

View File

@@ -15,7 +15,8 @@ Rectangle {
Component.onCompleted: {
Qt.callLater(() => {
__initialized = true;
if (root)
root.__initialized = true;
});
}

View File

@@ -257,7 +257,8 @@ Item {
Component.onCompleted: {
Qt.callLater(() => {
__delegateInitialized = true;
if (delegateRoot)
delegateRoot.__delegateInitialized = true;
});
}

View File

@@ -149,7 +149,7 @@ DankPopout {
event.accepted = true;
return;
}
if (event.key === Qt.Key_Left) {
if (notificationHeader.currentTab > 0) {
notificationHeader.currentTab = 0;
@@ -165,7 +165,6 @@ DankPopout {
}
return;
}
if (notificationHeader.currentTab === 1) {
historyList.handleKey(event);
return;