From ebd080760c3b3974cad4b083f8f6b6735dd1e434 Mon Sep 17 00:00:00 2001 From: Lemmy Date: Sun, 14 Dec 2025 15:51:17 -0500 Subject: [PATCH] Removed useless componentBehavior --- Widgets/NImageCached.qml | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/Widgets/NImageCached.qml b/Widgets/NImageCached.qml index 8f5a764a1..7d330bbc7 100644 --- a/Widgets/NImageCached.qml +++ b/Widgets/NImageCached.qml @@ -1,5 +1,3 @@ -pragma ComponentBehavior - import QtQuick import Quickshell import Quickshell.Io @@ -44,9 +42,9 @@ Image { // Original image is shown and fully loaded, time to cache it const grabPath = cachePath; if (visible && width > 0 && height > 0 && Window.window && Window.window.visible) - grabToImage(res => { - return res.saveToFile(grabPath); - }); + grabToImage(res => { + return res.saveToFile(grabPath); + }); } } }