- Renamed some ambiguous functions

- Reload torrents only when we need to enable full allocation mode (not everytime we change files selection)
This commit is contained in:
Christophe Dumez
2006-10-08 01:01:34 +00:00
parent 2f85dc29b5
commit 86dfbecd2e
4 changed files with 36 additions and 33 deletions

View File

@@ -39,6 +39,7 @@ class properties : public QDialog, private Ui::properties{
QStandardItemModel *PropListModel;
QTimer *updateProgressTimer;
std::vector<bool> selectionBitmask;
bool has_filtered_files;
protected slots:
void on_select_clicked();
@@ -47,12 +48,12 @@ class properties : public QDialog, private Ui::properties{
void on_incrementalDownload_stateChanged(int);
void setRowColor(int row, QString color);
void toggleSelectedState(const QModelIndex& index);
void saveFilteredPieces();
void saveFilteredFiles();
void updateProgress();
void loadFilteredPieces();
void loadFilteredFiles();
signals:
void changedFilteredPieces(torrent_handle h, bool compact_mode);
void changedFilteredFiles(torrent_handle h, bool compact_mode);
public:
// Constructor