mirror of
https://gitlab.com/kelteseth/ScreenPlay.git
synced 2024-10-06 09:17:07 +02:00
Remove window blur call because it is only available on mac
This commit is contained in:
parent
0e9c7ee3ac
commit
41f02cc2d9
@ -11,7 +11,9 @@ Item {
|
|||||||
|
|
||||||
Connections {
|
Connections {
|
||||||
function onQmlExit() {
|
function onQmlExit() {
|
||||||
Widget.setWindowBlur(0);
|
if(Qt.platform.os === "windows")
|
||||||
|
Widget.setWindowBlur(0);
|
||||||
|
|
||||||
animFadeOut.start();
|
animFadeOut.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -136,7 +138,8 @@ Item {
|
|||||||
onEntered: imgClose.opacity = 1
|
onEntered: imgClose.opacity = 1
|
||||||
onExited: imgClose.opacity = 0.15
|
onExited: imgClose.opacity = 0.15
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Widget.setWindowBlur(0);
|
if(Qt.platform.os === "windows")
|
||||||
|
Widget.setWindowBlur(0);
|
||||||
animFadeOut.start();
|
animFadeOut.start();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user