Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/owncloud/client.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannah von Reth <hannah.vonreth@owncloud.com>2022-02-16 13:10:47 +0300
committerHannah von Reth <vonreth@kde.org>2022-02-18 12:21:15 +0300
commit2a72f0eb1b4a48824e9a2d68a806ec0bf6d5441f (patch)
tree4c155b7b2d33871f7fd125686b67811d82ab7869 /src/gui/selectivesyncdialog.cpp
parent2b446390d4800c9e245fcd2f6e6eed79137a9f0d (diff)
Use a per folder davUrl
Diffstat (limited to 'src/gui/selectivesyncdialog.cpp')
-rw-r--r--src/gui/selectivesyncdialog.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/gui/selectivesyncdialog.cpp b/src/gui/selectivesyncdialog.cpp
index e16091862..e68b6d021 100644
--- a/src/gui/selectivesyncdialog.cpp
+++ b/src/gui/selectivesyncdialog.cpp
@@ -106,7 +106,8 @@ QSize SelectiveSyncWidget::sizeHint() const
void SelectiveSyncWidget::refreshFolders()
{
- LsColJob *job = new LsColJob(_account, _folderPath, this);
+ // TODO: legacy
+ LsColJob *job = new LsColJob(_account, _account->davUrl(), _folderPath, this);
job->setProperties(QList<QByteArray>() << "resourcetype"
<< "http://owncloud.org/ns:size");
connect(job, &LsColJob::directoryListingSubfolders,
@@ -272,7 +273,8 @@ void SelectiveSyncWidget::slotItemExpanded(QTreeWidgetItem *item)
QString dir = item->data(0, Qt::UserRole).toString();
if (dir.isEmpty())
return;
- LsColJob *job = new LsColJob(_account, _folderPath + dir, this);
+ // TODO: legacy
+ LsColJob *job = new LsColJob(_account, _account->davUrl(), _folderPath + dir, this);
job->setProperties(QList<QByteArray>() << "resourcetype"
<< "http://owncloud.org/ns:size");
connect(job, &LsColJob::directoryListingSubfolders,