mirror of
https://github.com/AvengeMedia/DankMaterialShell.git
synced 2026-04-11 08:12:09 -04:00
fix: QT notifs warning
This commit is contained in:
@@ -99,7 +99,6 @@ DankModal {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event.key === Qt.Key_Right) {
|
if (event.key === Qt.Key_Right) {
|
||||||
if (notificationHeaderRef && notificationHeaderRef.currentTab === 0 && SettingsData.notificationHistoryEnabled) {
|
if (notificationHeaderRef && notificationHeaderRef.currentTab === 0 && SettingsData.notificationHistoryEnabled) {
|
||||||
notificationHeaderRef.currentTab = 1;
|
notificationHeaderRef.currentTab = 1;
|
||||||
|
|||||||
@@ -15,7 +15,8 @@ Rectangle {
|
|||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
Qt.callLater(() => {
|
Qt.callLater(() => {
|
||||||
__initialized = true;
|
if (root)
|
||||||
|
root.__initialized = true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -257,7 +257,8 @@ Item {
|
|||||||
|
|
||||||
Component.onCompleted: {
|
Component.onCompleted: {
|
||||||
Qt.callLater(() => {
|
Qt.callLater(() => {
|
||||||
__delegateInitialized = true;
|
if (delegateRoot)
|
||||||
|
delegateRoot.__delegateInitialized = true;
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -149,7 +149,7 @@ DankPopout {
|
|||||||
event.accepted = true;
|
event.accepted = true;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (event.key === Qt.Key_Left) {
|
if (event.key === Qt.Key_Left) {
|
||||||
if (notificationHeader.currentTab > 0) {
|
if (notificationHeader.currentTab > 0) {
|
||||||
notificationHeader.currentTab = 0;
|
notificationHeader.currentTab = 0;
|
||||||
@@ -165,7 +165,6 @@ DankPopout {
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (notificationHeader.currentTab === 1) {
|
if (notificationHeader.currentTab === 1) {
|
||||||
historyList.handleKey(event);
|
historyList.handleKey(event);
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user