- In torrent content selection, check if all files are filtered before saving and display an error if it is the case. I removed this checking on right click menu in case people want to filter all torrents, then add one, then save.

This commit is contained in:
Christophe Dumez
2007-09-03 22:52:58 +00:00
parent 913f93ba82
commit 54516ac231
4 changed files with 25 additions and 60 deletions

View File

@@ -49,7 +49,6 @@ class properties : public QDialog, private Ui::properties{
void on_okButton_clicked();
void on_incrementalDownload_stateChanged(int);
void setRowColor(int row, QString color);
void savePiecesPriorities();
void updateInfos();
void loadPiecesPriorities();
void setAllPiecesState(unsigned short priority);
@@ -78,7 +77,8 @@ class properties : public QDialog, private Ui::properties{
// Constructor
properties(QWidget *parent, bittorrent *BTSession, QTorrentHandle &h);
~properties();
bool onlyOneItem() const;
bool allFiltered() const;
bool savePiecesPriorities();
};
#endif