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:
@@ -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