Add debug logs to ArchUpdater

This commit is contained in:
Ly-sec 2025-08-31 15:28:54 +02:00
parent ff0c83a04c
commit 7a2fa4a773
4 changed files with 31 additions and 10 deletions

View file

@ -1,4 +1,4 @@
pragma ComponentBehavior: Bound
pragma ComponentBehavior
import QtQuick
import QtQuick.Controls
@ -65,9 +65,10 @@ Rectangle {
cursorShape: Qt.PointingHandCursor
acceptedButtons: Qt.LeftButton | Qt.RightButton
onPressed: function(mouse) {
if (!taskbarItem.modelData) return
onPressed: function (mouse) {
if (!taskbarItem.modelData)
return
if (mouse.button === Qt.LeftButton) {
try {
taskbarItem.modelData.activate()