From 41f02cc2d904174e26d0407aa79f445fe921609e Mon Sep 17 00:00:00 2001 From: Elias Steurer Date: Sat, 4 Sep 2021 14:04:08 +0200 Subject: [PATCH] Remove window blur call because it is only available on mac --- ScreenPlayWidget/qml/Widget.qml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ScreenPlayWidget/qml/Widget.qml b/ScreenPlayWidget/qml/Widget.qml index 51e2dd68..b3ad6fdd 100644 --- a/ScreenPlayWidget/qml/Widget.qml +++ b/ScreenPlayWidget/qml/Widget.qml @@ -11,7 +11,9 @@ Item { Connections { function onQmlExit() { - Widget.setWindowBlur(0); + if(Qt.platform.os === "windows") + Widget.setWindowBlur(0); + animFadeOut.start(); } @@ -136,7 +138,8 @@ Item { onEntered: imgClose.opacity = 1 onExited: imgClose.opacity = 0.15 onClicked: { - Widget.setWindowBlur(0); + if(Qt.platform.os === "windows") + Widget.setWindowBlur(0); animFadeOut.start(); }