mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-10 01:22:31 -06:00
Move a few torrent context menu actions into "Torrent options" dialog
Automatic torrent management Save path Category Download in sequential order Download first and last pieces first closes #15447, closes #14064
This commit is contained in:
@@ -58,6 +58,9 @@ public slots:
|
||||
void accept() override;
|
||||
|
||||
private slots:
|
||||
void handleCategoryChanged(int index);
|
||||
void handleTMMChanged();
|
||||
|
||||
void handleUpSpeedLimitChanged();
|
||||
void handleDownSpeedLimitChanged();
|
||||
|
||||
@@ -70,14 +73,22 @@ private:
|
||||
QVector<BitTorrent::TorrentID> m_torrentIDs;
|
||||
Ui::TorrentOptionsDialog *m_ui;
|
||||
SettingValue<QSize> m_storeDialogSize;
|
||||
QStringList m_categories;
|
||||
QString m_currentCategoriesString;
|
||||
bool m_allSameCategory = true;
|
||||
struct
|
||||
{
|
||||
QString savePath;
|
||||
QString category;
|
||||
qreal ratio;
|
||||
int seedingTime;
|
||||
int upSpeedLimit;
|
||||
int downSpeedLimit;
|
||||
Qt::CheckState autoTMM;
|
||||
Qt::CheckState disableDHT;
|
||||
Qt::CheckState disablePEX;
|
||||
Qt::CheckState disableLSD;
|
||||
Qt::CheckState sequential;
|
||||
Qt::CheckState firstLastPieces;
|
||||
} m_initialValues;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user