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:
authorOlivier Goffart <ogoffart@woboq.com>2016-02-11 17:06:00 +0300
committerOlivier Goffart <ogoffart@woboq.com>2016-02-11 17:09:47 +0300
commitdd89ab59e4ef223112d712e4d04379fa2f6ce359 (patch)
treeadf3d2a5f5f527eb9dced9cb4f46b3c8508d42a9 /src/gui/selectivesyncdialog.cpp
parent83adb7b55baa911a9b47b1ed1b3a19b6e9612c61 (diff)
Use oc:size instead of quota-used-bytes to get the sizes of folder (#4459)
Diffstat (limited to 'src/gui/selectivesyncdialog.cpp')
-rw-r--r--src/gui/selectivesyncdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/selectivesyncdialog.cpp b/src/gui/selectivesyncdialog.cpp
index 1b693ed83..ef3fb6c55 100644
--- a/src/gui/selectivesyncdialog.cpp
+++ b/src/gui/selectivesyncdialog.cpp
@@ -81,7 +81,7 @@ QSize SelectiveSyncTreeView::sizeHint() const
void SelectiveSyncTreeView::refreshFolders()
{
LsColJob *job = new LsColJob(_account, _folderPath, this);
- job->setProperties(QList<QByteArray>() << "resourcetype" << "quota-used-bytes");
+ job->setProperties(QList<QByteArray>() << "resourcetype" << "http://owncloud.org/ns:size");
connect(job, SIGNAL(directoryListingSubfolders(QStringList)),
this, SLOT(slotUpdateDirectories(QStringList)));
connect(job, SIGNAL(finishedWithError(QNetworkReply*)),
@@ -263,7 +263,7 @@ void SelectiveSyncTreeView::slotItemExpanded(QTreeWidgetItem *item)
prefix = _folderPath + QLatin1Char('/');
}
LsColJob *job = new LsColJob(_account, prefix + dir, this);
- job->setProperties(QList<QByteArray>() << "resourcetype" << "quota-used-bytes");
+ job->setProperties(QList<QByteArray>() << "resourcetype" << "http://owncloud.org/ns:size");
connect(job, SIGNAL(directoryListingSubfolders(QStringList)),
SLOT(slotUpdateDirectories(QStringList)));
job->start();