From 7263867f14c10b85d562459b05222a317dfa17f1 Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Wed, 11 Apr 2007 13:23:17 +0000 Subject: [PATCH] - Display torrent properties on double click in finished torrents list (togglepausedstate() was useless here) - Fixed default tab selected in torrent properties - Updated TODO --- TODO | 1 - src/FinishedTorrents.cpp | 1 + src/properties.ui | 2 +- 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/TODO b/TODO index 84952fa9b..74b247409 100644 --- a/TODO +++ b/TODO @@ -47,5 +47,4 @@ - Improve ratio display / calculation / saving / per torrent... - Use buttonboxes when possible - Display the sum of the size of the selected files in the torrent instead of the whole torrent size in download list -- Support column sorting in finished list - Sorting in Download Status column should be smarter than just an alphabetical sort \ No newline at end of file diff --git a/src/FinishedTorrents.cpp b/src/FinishedTorrents.cpp index 1f8129d6f..ae4974dfa 100644 --- a/src/FinishedTorrents.cpp +++ b/src/FinishedTorrents.cpp @@ -54,6 +54,7 @@ FinishedTorrents::FinishedTorrents(QObject *parent, bittorrent *BTSession){ finishedListDelegate = new DLListDelegate(); finishedList->setItemDelegate(finishedListDelegate); connect(finishedList, SIGNAL(customContextMenuRequested(const QPoint&)), this, SLOT(displayFinishedListMenu(const QPoint&))); + connect(finishedList, SIGNAL(doubleClicked(const QModelIndex&)), this, SLOT(propertiesSelection())); actionDelete->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/delete.png"))); actionPreview_file->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/preview.png"))); actionDelete_Permanently->setIcon(QIcon(QString::fromUtf8(":/Icons/skin/delete_perm.png"))); diff --git a/src/properties.ui b/src/properties.ui index eb1fc0817..e15a3bdc0 100644 --- a/src/properties.ui +++ b/src/properties.ui @@ -22,7 +22,7 @@ - 2 + 0