Commit e13bbe4e authored by Orgad Shaneh's avatar Orgad Shaneh Committed by hjk

Attach to Core: Sort by file name

Files and directories are interleaved, but it's better than no sorting at all

Change-Id: I1852fad1feb9de7fb589d00822429184a25aa8d4
Reviewed-by: default avatarhjk <qthjk@ovi.com>
parent 2910233e
......@@ -123,6 +123,7 @@ SelectRemoteFileDialog::SelectRemoteFileDialog(QWidget *parent)
m_fileSystemView = new QTreeView(this);
m_fileSystemView->setModel(&m_model);
m_fileSystemView->setSortingEnabled(true);
m_fileSystemView->sortByColumn(1, Qt::AscendingOrder);
m_fileSystemView->setUniformRowHeights(true);
m_fileSystemView->setSelectionMode(QAbstractItemView::SingleSelection);
m_fileSystemView->setSelectionBehavior(QAbstractItemView::SelectRows);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment