Skip to content
Snippets Groups Projects
Commit 5e2acee0 authored by Sébastien Blin's avatar Sébastien Blin
Browse files

settings: improve FolderSettings

Moreover, this is not working correctly due to
https://bugreports.qt.io/browse/QTBUG-76860
But, migration to Qt 6.2.1 is in progress (actually in review), we
can let this as it is.

Change-Id: I1143fe25161af334ab7424adcb69dfd4a17022cb
GitLab: #620
parent 9ee7c083
No related branches found
No related tags found
No related merge requests found
...@@ -31,7 +31,7 @@ ColumnLayout { ...@@ -31,7 +31,7 @@ ColumnLayout {
id:root id:root
property int itemWidth property int itemWidth
property string recordPath: UtilsAdapter.getDirDocument() property string recordPath: AVModel.getRecordPath()
onRecordPathChanged: { onRecordPathChanged: {
if(recordPath === "") return if(recordPath === "") return
...@@ -46,6 +46,7 @@ ColumnLayout { ...@@ -46,6 +46,7 @@ ColumnLayout {
title: JamiStrings.selectFolder title: JamiStrings.selectFolder
currentFolder: StandardPaths.writableLocation(StandardPaths.HomeLocation) currentFolder: StandardPaths.writableLocation(StandardPaths.HomeLocation)
options: FolderDialog.ShowDirsOnly
onAccepted: { onAccepted: {
var dir = UtilsAdapter.getAbsPath(folder.toString()) var dir = UtilsAdapter.getAbsPath(folder.toString())
......
...@@ -44,6 +44,7 @@ ColumnLayout { ...@@ -44,6 +44,7 @@ ColumnLayout {
title: JamiStrings.selectFolder title: JamiStrings.selectFolder
currentFolder: StandardPaths.writableLocation(StandardPaths.DownloadLocation) currentFolder: StandardPaths.writableLocation(StandardPaths.DownloadLocation)
options: FolderDialog.ShowDirsOnly
onAccepted: { onAccepted: {
var dir = UtilsAdapter.getAbsPath(folder.toString()) var dir = UtilsAdapter.getAbsPath(folder.toString())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment