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 {
id:root
property int itemWidth
property string recordPath: UtilsAdapter.getDirDocument()
property string recordPath: AVModel.getRecordPath()
onRecordPathChanged: {
if(recordPath === "") return
......@@ -46,6 +46,7 @@ ColumnLayout {
title: JamiStrings.selectFolder
currentFolder: StandardPaths.writableLocation(StandardPaths.HomeLocation)
options: FolderDialog.ShowDirsOnly
onAccepted: {
var dir = UtilsAdapter.getAbsPath(folder.toString())
......
......@@ -36,7 +36,7 @@ ColumnLayout {
onDownloadPathChanged: {
if(downloadPath === "") return
UtilsAdapter.setDownloadPath(downloadPath)
UtilsAdapter.setDownloadPath(downloadPath)
}
FolderDialog {
......@@ -44,6 +44,7 @@ ColumnLayout {
title: JamiStrings.selectFolder
currentFolder: StandardPaths.writableLocation(StandardPaths.DownloadLocation)
options: FolderDialog.ShowDirsOnly
onAccepted: {
var dir = UtilsAdapter.getAbsPath(folder.toString())
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment