[Pkg-owncloud-commits] [owncloud-client] 43/211: Add Folder wizard: Sort the folders when selecting the remote folder
Sandro Knauß
hefee-guest at moszumanska.debian.org
Sat Oct 25 09:10:24 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 100d1361b6d46c81a07269d5e2d4099ace194971
Author: Olivier Goffart <ogoffart at woboq.com>
Date: Fri Oct 10 16:56:05 2014 +0200
Add Folder wizard: Sort the folders when selecting the remote folder
Issue #1872
---
src/mirall/folderwizard.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/mirall/folderwizard.cpp b/src/mirall/folderwizard.cpp
index f849203..b762c34 100644
--- a/src/mirall/folderwizard.cpp
+++ b/src/mirall/folderwizard.cpp
@@ -232,6 +232,9 @@ FolderWizardRemotePath::FolderWizardRemotePath()
_ui.setupUi(this);
_ui.warnFrame->hide();
+ _ui.folderTreeWidget->setSortingEnabled(true);
+ _ui.folderTreeWidget->sortByColumn(0, Qt::AscendingOrder);
+
connect(_ui.addFolderButton, SIGNAL(clicked()), SLOT(slotAddRemoteFolder()));
connect(_ui.refreshButton, SIGNAL(clicked()), SLOT(slotRefreshFolders()));
connect(_ui.folderTreeWidget, SIGNAL(itemClicked(QTreeWidgetItem*,int)), SIGNAL(completeChanged()));
--
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