mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-22 08:27:24 -06:00
- Rewrited torrent resume code to make it cleaner and more generic
* magnet URI support should be easy to implement now Warning: Since a lot of code was rewrited, some bugs may have been introduced
This commit is contained in:
@@ -55,7 +55,6 @@ class properties : public QDialog, private Ui::properties{
|
||||
PropListDelegate *PropDelegate;
|
||||
QStandardItemModel *PropListModel;
|
||||
QTimer *updateInfosTimer;
|
||||
bool has_filtered_files;
|
||||
QStringList urlSeeds;
|
||||
RealProgressBar *progressBar;
|
||||
RealProgressBarThread *progressBarUpdater;
|
||||
@@ -79,7 +78,6 @@ class properties : public QDialog, private Ui::properties{
|
||||
void maximumSelection();
|
||||
void loadWebSeeds();
|
||||
void askWebSeed();
|
||||
void saveWebSeeds();
|
||||
void loadWebSeedsFromFile();
|
||||
void deleteSelectedUrlSeeds();
|
||||
void addFilesToTree(const torrent_file *root, QStandardItem *parent);
|
||||
@@ -103,7 +101,7 @@ class properties : public QDialog, private Ui::properties{
|
||||
~properties();
|
||||
bool allFiltered() const;
|
||||
bool savePiecesPriorities();
|
||||
int* loadPiecesPriorities();
|
||||
std::vector<int> loadFilesPriorities();
|
||||
|
||||
protected:
|
||||
QPoint screenCenter() const;
|
||||
|
||||
Reference in New Issue
Block a user