mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-10 12:03:18 +02: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:
parent
5295e4aa5b
commit
37d548bb75
2 changed files with 4 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue