mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-23 00:47:21 -06:00
Improvements on the behavior of the program updater(closes #1282):
1. Check for updates every hour 2. Don't check again for this session if the user chose to ignore the new version 3. Display a message if the user checked for updates via the menu item and there isn't one 4. Remove dead code
This commit is contained in:
@@ -140,8 +140,7 @@ protected slots:
|
||||
// HTTP slots
|
||||
void on_actionDownload_from_URL_triggered();
|
||||
#if defined(Q_WS_WIN) || defined(Q_WS_MAC)
|
||||
void handleUpdateCheckFinished(bool update_available, QString new_version);
|
||||
void handleUpdateInstalled(QString error_msg);
|
||||
void handleUpdateCheckFinished(bool update_available, QString new_version, bool invokedByUser);
|
||||
#endif
|
||||
|
||||
protected:
|
||||
@@ -200,7 +199,6 @@ private:
|
||||
QTimer *preventTimer;
|
||||
#if defined(Q_WS_WIN) || defined(Q_WS_MAC)
|
||||
QTimer programUpdateTimer;
|
||||
bool checkingProgramUpdate;
|
||||
#endif
|
||||
|
||||
private slots:
|
||||
|
||||
Reference in New Issue
Block a user