[Pkg-owncloud-commits] [owncloud-client] 191/219: SelectiveSync: sort the item instead of using the order from the server
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 11 14:43:25 UTC 2014
This is an automated email from the git hooks/post-receive script.
hefee-guest pushed a commit to branch master
in repository owncloud-client.
commit 0d303f1d1f19eb211c910b7406cd61616836bd5f
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Wed Oct 1 13:44:23 2014 +0200
SelectiveSync: sort the item instead of using the order from the server
Task #2259
---
src/mirall/selectivesyncdialog.cpp | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/mirall/selectivesyncdialog.cpp b/src/mirall/selectivesyncdialog.cpp
index 9a0ec40..2c13f64 100644
--- a/src/mirall/selectivesyncdialog.cpp
+++ b/src/mirall/selectivesyncdialog.cpp
@@ -36,6 +36,8 @@ SelectiveSyncTreeView::SelectiveSyncTreeView(Account *account, QWidget* parent)
connect(this, SIGNAL(itemExpanded(QTreeWidgetItem*)), this, SLOT(slotItemExpanded(QTreeWidgetItem*)));
connect(this, SIGNAL(itemChanged(QTreeWidgetItem*,int)), this, SLOT(slotItemChanged(QTreeWidgetItem*,int)));
header()->hide();
+ setSortingEnabled(true);
+ sortByColumn(0, Qt::AscendingOrder);
}
void SelectiveSyncTreeView::refreshFolders()
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud-client.git
More information about the Pkg-owncloud-commits
mailing list