mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-21 16:07:23 -06:00
Code cleanup in torrent addition dialog
Magnet link related fixes to torrent addition dialog
This commit is contained in:
File diff suppressed because it is too large
Load Diff
@@ -70,6 +70,7 @@ public:
|
|||||||
void showLoad(QString filePath, QString from_url=QString::null);
|
void showLoad(QString filePath, QString from_url=QString::null);
|
||||||
QString getCurrentTruncatedSavePath(QString* root_folder_or_file_name = 0) const;
|
QString getCurrentTruncatedSavePath(QString* root_folder_or_file_name = 0) const;
|
||||||
QString getTruncatedSavePath(QString save_path, QString* root_folder_or_file_name = 0) const;
|
QString getTruncatedSavePath(QString save_path, QString* root_folder_or_file_name = 0) const;
|
||||||
|
bool allFiltered() const;
|
||||||
|
|
||||||
public slots:
|
public slots:
|
||||||
void displayContentListMenu(const QPoint&);
|
void displayContentListMenu(const QPoint&);
|
||||||
@@ -77,13 +78,12 @@ public slots:
|
|||||||
void updateDiskSpaceLabels();
|
void updateDiskSpaceLabels();
|
||||||
void on_browseButton_clicked();
|
void on_browseButton_clicked();
|
||||||
void on_CancelButton_clicked();
|
void on_CancelButton_clicked();
|
||||||
bool allFiltered() const;
|
|
||||||
void savePiecesPriorities();
|
void savePiecesPriorities();
|
||||||
void on_OkButton_clicked();
|
void on_OkButton_clicked();
|
||||||
void renameTorrentNameInModel(QString file_path);
|
void renameTorrentNameInModel(QString file_path);
|
||||||
void hideTorrentContent();
|
void hideTorrentContent();
|
||||||
void saveTruncatedPathHistory();
|
void saveTruncatedPathHistory();
|
||||||
QStringList getSavePathHistory() const;
|
void loadSavePathHistory();
|
||||||
void updateLabelInSavePath(QString label);
|
void updateLabelInSavePath(QString label);
|
||||||
void updateSavePathCurrentText(QString path);
|
void updateSavePathCurrentText(QString path);
|
||||||
void resetComboLabelIndex(QString text);
|
void resetComboLabelIndex(QString text);
|
||||||
|
|||||||
Reference in New Issue
Block a user