Index: sources/gui/qml/components/ModalDialog.qml =================================================================== diff -u -rc2f474ff07c98aa350c445a2474976a3cf985f40 -rbecdb453874007323459a9afe9fe581b6c158902 --- sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision c2f474ff07c98aa350c445a2474976a3cf985f40) +++ sources/gui/qml/components/ModalDialog.qml (.../ModalDialog.qml) (revision becdb453874007323459a9afe9fe581b6c158902) @@ -16,7 +16,7 @@ // Qt import QtQuick 2.12 import QtQuick.Controls 2.12 // Dialog -import QtGraphicalEffects 1.12 +// import QtGraphicalEffects 1.12 /* Qt6 Port: replace the above import with the following one: import QtQuick.Effects */ @@ -39,7 +39,7 @@ property alias radius : _backgroundRect.radius property alias notificationText : _notification.text property alias notification : _notification - property bool showDropShadow : false + // property bool showDropShadow : false property alias backgroundItem : _backgroundItem.children property alias backgroundItemZ : _backgroundItem.z property bool closeOnStateChange : true @@ -51,8 +51,8 @@ x: Math.round((Variables.applicationWidth - width) / 2) y: Math.round((Variables.applicationHeight - height) / 2) - enter: Transition { NumberAnimation { property: "scale"; from: 0.8; to: 1.0; duration: 200; easing.type: Easing.OutCubic } } - exit : Transition { NumberAnimation { property: "scale"; from: 1.0; to: 0.8; duration: 200; easing.type: Easing.InCubic } } + // enter: Transition { NumberAnimation { property: "scale"; from: 0.8; to: 1.0; duration: 200; easing.type: Easing.OutCubic } } + // exit : Transition { NumberAnimation { property: "scale"; from: 1.0; to: 0.8; duration: 200; easing.type: Easing.InCubic } } modal: true @@ -69,17 +69,17 @@ color : Colors.backgroundDialog radius : Variables.dialogRadius - layer.enabled : showDropShadow - layer.effect: DropShadow { - id: _dropShadow - horizontalOffset: 4 - verticalOffset : 4 - radius : 12 - samples : 32 - color : Colors.dropShadowDialogColor - source : _backgroundRect - anchors.fill : _backgroundRect - } + // layer.enabled : showDropShadow + // layer.effect: DropShadow { + // id: _dropShadow + // horizontalOffset: 4 + // verticalOffset : 4 + // radius : 12 + // samples : 32 + // color : Colors.dropShadowDialogColor + // source : _backgroundRect + // anchors.fill : _backgroundRect + // } /* Qt6 Port: replace above DropShadow with following RectangularShadow: layer.effect: RectangularShadow { id: _dropShadow