From ffe9bb851af2be20f925a94aecc2a4a9052f42f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=B0lyas?= <67807483+Mestane@users.noreply.github.com> Date: Thu, 2 Apr 2026 13:37:45 +0300 Subject: [PATCH] fix: notif image and vpn serialisation (#1370) * fix: serialize VPN interface name when configured via UI * fix: override last icon notification history * screw qmlls --------- Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com> --- config/Config.qml | 2 +- services/NotifData.qml | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/config/Config.qml b/config/Config.qml index cdfd7123..d0b24935 100644 --- a/config/Config.qml +++ b/config/Config.qml @@ -326,7 +326,7 @@ Singleton { const provider = { displayName: p.displayName, enabled: p.enabled, - iface: p.iface, + interface: p.iface, name: p.name }; if (p.connectCmd && p.connectCmd.length > 0) { diff --git a/services/NotifData.qml b/services/NotifData.qml index 3fde0145..d84183e5 100644 --- a/services/NotifData.qml +++ b/services/NotifData.qml @@ -77,7 +77,8 @@ QtObject { h2 ^= Math.imul(h1 ^ (h1 >>> 13), 3266489909); const hash = (h2 >>> 0).toString(16).padStart(8, 0) + (h1 >>> 0).toString(16).padStart(8, 0); - const cache = Paths.notifimagecache + "/${hash}.png"; + Paths; // Screw you qmlls + const cache = `${Paths.notifimagecache}/${hash}.png`; CUtils.saveItem(this, Qt.resolvedUrl(cache), () => { notif.image = cache; notif.dummyImageLoader.active = false;