From f65a7a1025cb520a73b98395cd024fdeff54b063 Mon Sep 17 00:00:00 2001 From: Devin Lin Date: Sun, 5 Mar 2023 12:53:09 -0800 Subject: [PATCH] Disable QtFeedback --- .../mobileshell/qml/components/HapticsEffectLoader.qml | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/components/mobileshell/qml/components/HapticsEffectLoader.qml b/components/mobileshell/qml/components/HapticsEffectLoader.qml index ebb42e88..a25f5ba2 100644 --- a/components/mobileshell/qml/components/HapticsEffectLoader.qml +++ b/components/mobileshell/qml/components/HapticsEffectLoader.qml @@ -6,14 +6,15 @@ import QtQuick 2.15 import org.kde.plasma.private.mobileshell 1.0 as MobileShell Loader { - source: "qrc:/org/kde/plasma/private/mobileshell/qml/components/HapticsEffectWrapper.qml" + // source: "qrc:/org/kde/plasma/private/mobileshell/qml/components/HapticsEffectWrapper.qml" property bool valid: item !== null function buttonVibrate() { if (valid && MobileShell.MobileShellSettings.vibrationsEnabled) { - item.intensity = MobileShell.MobileShellSettings.vibrationIntensity; - item.duration = MobileShell.MobileShellSettings.vibrationDuration; - item.start(); + // TODO we need a haptics stack for Qt 6 + // item.intensity = MobileShell.MobileShellSettings.vibrationIntensity; + // item.duration = MobileShell.MobileShellSettings.vibrationDuration; + // item.start(); } } }