summaryrefslogtreecommitdiffstats
path: root/views/people/qml/PersonComposer.qml
diff options
context:
space:
mode:
Diffstat (limited to 'views/people/qml/PersonComposer.qml')
-rw-r--r--views/people/qml/PersonComposer.qml21
1 files changed, 10 insertions, 11 deletions
diff --git a/views/people/qml/PersonComposer.qml b/views/people/qml/PersonComposer.qml
index ff24a456..19e8c56b 100644
--- a/views/people/qml/PersonComposer.qml
+++ b/views/people/qml/PersonComposer.qml
@@ -90,19 +90,18 @@ Flickable {
90 color: "#00000000" 90 color: "#00000000"
91 91
92 onClicked: { 92 onClicked: {
93 fileDialogComponent.createObject(parent) 93 fileDialog.open()
94 } 94 }
95 95
96 Component { 96 Dialogs.FileDialog {
97 id: fileDialogComponent 97 id: fileDialog
98 Dialogs.FileDialog { 98 title: qsTr("Choose an Avatar")
99 id: fileDialog 99 folder: shortcuts.home
100 visible: true 100 selectFolder: false
101 title: "Choose an Avatar" 101 selectExisting: true
102 selectFolder: false 102 selectMultiple: false
103 onAccepted: { 103 onAccepted: {
104 //TODO 104 //TODO
105 }
106 } 105 }
107 } 106 }
108 } 107 }