GPL v3, some code changes

This commit is contained in:
Amaro Lopes
2025-10-08 20:18:51 -03:00
parent 7c2c2f3a7c
commit eddae605d4
4 changed files with 586 additions and 257 deletions

View File

@@ -23,10 +23,9 @@ Singleton {
Connections {
function onNotification(notif) {
if (notif.body == "MediaOngoingActivity") {
notif.dismiss();
return;
}
if (notif.traked) {
if (notif.tracked) {
return;
}
notif.tracked = true;
@@ -66,10 +65,6 @@ Singleton {
notification: notificationRoot.currentNotification
implicitWidth: notificationWindow.implicitWidth
Component.onCompleted: {
console.log(notificationWrapper.height);
popupLoader.implicitHeight = notificationWrapper.implicitHeight;
}
onDismissed: {
notificationRoot.shouldShowOsd = false;
notificationRoot.currentNotification.dismiss();

View File

@@ -13,7 +13,6 @@ Singleton {
function start(component, type) {
HoverMediator.component = component;
HoverMediator.type = type;
hoverPopUp.anchor.updateAnchor();
hoverTimer.start();
}
@@ -49,7 +48,7 @@ Singleton {
id: systray
Text {
text: {
if (!HoverMediator.component.model)
if (!HoverMediator.component?.model)
return "";
if (HoverMediator.component.model.tooltipTitle)
return HoverMediator.component.model.tooltipTitle;