FEATURE: Torrent content list is now sortable

This commit is contained in:
Christophe Dumez 2011-03-10 18:58:35 +00:00
parent 15d3b07f34
commit f25b198516
3 changed files with 8 additions and 3 deletions

View file

@ -77,6 +77,7 @@ PropertiesWidget::PropertiesWidget(QWidget *parent, MainWindow* main_window, Tra
filesList->setModel(PropListModel);
PropDelegate = new PropListDelegate(this);
filesList->setItemDelegate(PropDelegate);
filesList->setSortingEnabled(true);
// Torrent content filtering
m_contentFilerLine = new LineEdit(this);
connect(m_contentFilerLine, SIGNAL(textChanged(QString)), PropListModel, SLOT(setFilterFixedString(QString)));