- Saving trackers file only when necessary

- Avoid code duplication for showProperties()
This commit is contained in:
Christophe Dumez
2007-11-19 21:10:57 +00:00
parent f3f3f2822b
commit c8b944508b
5 changed files with 11 additions and 14 deletions

View File

@@ -42,6 +42,7 @@ class properties : public QDialog, private Ui::properties{
QTorrentHandle h;
bittorrent *BTSession;
bool changedFilteredfiles;
bool changedTrackers;
QString hash;
PropListDelegate *PropDelegate;
QStandardItemModel *PropListModel;
@@ -84,6 +85,7 @@ class properties : public QDialog, private Ui::properties{
signals:
void filteredFilesChanged(QString hash);
void fileSizeChanged(QString hash);
void trackersChanged(QString hash);
public:
// Constructor