mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-10-23 19:54:02 -04:00
fix: QT notifs warning
This commit is contained in:
1 parent
9c4f4cbd0d
commit
3c2d60d8e1
4 files changed
+5
-5
No files matched your search
@@ -99,7 +99,6 @@ DankModal {
|
||||
}
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.key === Qt.Key_Right) {
|
||||
if (notificationHeaderRef && notificationHeaderRef.currentTab === 0 && SettingsData.notificationHistoryEnabled) {
|
||||
notificationHeaderRef.currentTab = 1;
|
||||
|
||||
@@ -15,7 +15,8 @@ Rectangle {
|
||||
|
||||
Component.onCompleted: {
|
||||
Qt.callLater(() => {
|
||||
__initialized = true;
|
||||
if (root)
|
||||
root.__initialized = true;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -257,7 +257,8 @@ Item {
|
||||
|
||||
Component.onCompleted: {
|
||||
Qt.callLater(() => {
|
||||
__delegateInitialized = true;
|
||||
if (delegateRoot)
|
||||
delegateRoot.__delegateInitialized = true;
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user