- Made progress on torrent properties (main tab)

This commit is contained in:
Christophe Dumez 2009-11-08 15:41:32 +00:00
parent 707e87f5b8
commit 75e5a7e3d4
6 changed files with 269 additions and 102 deletions

View file

@ -789,6 +789,12 @@ void TransferListWidget::loadLastSortedColumn() {
}
}
void TransferListWidget::currentChanged(const QModelIndex& current, const QModelIndex&) {
int row = proxyModel->mapToSource(current).row();
QTorrentHandle h = BTSession->getTorrentHandle(getHashFromRow(row));
emit currentTorrentChanged(h);
}
void TransferListWidget::applyFilter(int f) {
switch(f) {
case DOWNLOADING: