Preview now correctly uses the selected file. Closes #1222 #1182.

This commit is contained in:
sledgehammer999 2014-01-02 18:21:19 +02:00
parent ced950a764
commit 634b4d4f4d
2 changed files with 11 additions and 18 deletions

View file

@ -46,7 +46,7 @@ class PreviewSelect: public QDialog, private Ui::preview {
Q_OBJECT
public:
enum PreviewColumn { NAME, SIZE, PROGRESS, NB_COLUMNS };
enum PreviewColumn { NAME, SIZE, PROGRESS, FILE_INDEX, NB_COLUMNS };
public:
PreviewSelect(QWidget* parent, QTorrentHandle h);
@ -63,7 +63,6 @@ private:
QStandardItemModel *previewListModel;
PreviewListDelegate *listDelegate;
QTorrentHandle h;
QList<int> indexes;
};