summaryrefslogtreecommitdiff
path: root/Instructor
diff options
context:
space:
mode:
Diffstat (limited to 'Instructor')
-rw-r--r--Instructor/EditProfile.ui.qml22
1 files changed, 15 insertions, 7 deletions
diff --git a/Instructor/EditProfile.ui.qml b/Instructor/EditProfile.ui.qml
index dc9e49f..3d3ad1b 100644
--- a/Instructor/EditProfile.ui.qml
+++ b/Instructor/EditProfile.ui.qml
@@ -1,7 +1,7 @@
import QtQuick
import QtQuick.Controls
import QtQuick.Layouts
-import Qt5Compat.GraphicalEffects
+import QtQuick.Effects
import Bootstrap
import Eduport
import "../TextField" as TxtFld
@@ -98,14 +98,22 @@ Flickable {
width: 82
height: 82
}
- layer.enabled: true
- layer.effect: OpacityMask {
- maskSource: Rectangle {
- width: 82
- height: 82
- radius: 82
+ layer {
+ enabled: true
+ effect: MultiEffect {
+ maskEnabled: true
+ maskSource: maskRectangle
}
}
+ Rectangle {
+ id: maskRectangle
+ width: 82
+ height: 82
+ radius: 82
+ layer.enabled: true
+ visible: false
+ }
+
}
Button {