mirror of
https://github.com/savoirfairelinux/jami-client-qt.git
synced 2026-01-03 18:43:17 +08:00
updatemanager: change the order of the constructor input parameter
Make the LRCInstance pointer pass correctly into updatemanager Change-Id: I87f22fcf69d69babae3ec6de8b6b20eb5d2c652b
This commit is contained in:
@@ -36,8 +36,8 @@ static constexpr int updatePeriod = 1000 * 60 * 60 * 24; // one day in millis
|
||||
|
||||
UpdateManager::UpdateManager(const QString& url,
|
||||
ConnectivityMonitor* cm,
|
||||
QObject* parent,
|
||||
LRCInstance* instance)
|
||||
LRCInstance* instance,
|
||||
QObject* parent)
|
||||
: NetWorkManager(cm, parent)
|
||||
, baseUrl_(url.isEmpty() ? "https://dl.jami.net/windows" : url.toLatin1())
|
||||
, tempPath_(Utils::WinGetEnv("TEMP"))
|
||||
|
||||
@@ -30,8 +30,8 @@ class UpdateManager final : public NetWorkManager
|
||||
public:
|
||||
explicit UpdateManager(const QString& url,
|
||||
ConnectivityMonitor* cm,
|
||||
QObject* parent = nullptr,
|
||||
LRCInstance* instance = nullptr);
|
||||
LRCInstance* instance = nullptr,
|
||||
QObject* parent = nullptr);
|
||||
~UpdateManager() = default;
|
||||
|
||||
Q_INVOKABLE void checkForUpdates(bool quiet = false);
|
||||
|
||||
Reference in New Issue
Block a user