mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 14:38:04 -06:00
- Split Preferences from the GUI so that Options dialog does not need to be created on startup to retrieve the preferences:
* This speeds up startup * Bittorrent session settings are now applied at bittorrent class level (Required for headless running)
This commit is contained in:
@@ -144,7 +144,7 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
||||
void on_actionDocumentation_triggered() const;
|
||||
void on_actionOpen_triggered();
|
||||
void checkConnectionStatus();
|
||||
void configureSession(bool deleteOptions);
|
||||
void loadPreferences(bool configure_session=true);
|
||||
void processParams(const QStringList& params);
|
||||
void addTorrent(QString path);
|
||||
void addUnauthenticatedTracker(QPair<QTorrentHandle,QString> tracker);
|
||||
@@ -156,7 +156,6 @@ class GUI : public QMainWindow, private Ui::MainWindow{
|
||||
void scrapeTrackers();
|
||||
// Options slots
|
||||
void on_actionOptions_triggered();
|
||||
void OptionsSaved(bool deleteOptions);
|
||||
// HTTP slots
|
||||
void on_actionDownload_from_URL_triggered();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user