mirror of
https://git.jami.net/savoirfairelinux/jami-client-qt.git
synced 2025-09-03 13:43:34 +02:00
misc: initialize LRCInstance before rising connection error
- in order to start the daemon, LRCInstance has to be initializated before rising the error and displaying the popup. Gitlab: #245 Change-Id: I4a6cd4f38f5c93f65bc157e7d2ffff7f16e6aff8
This commit is contained in:
parent
11b62fd1b5
commit
4a06565e57
1 changed files with 2 additions and 1 deletions
|
@ -156,6 +156,8 @@ MainApplication::init()
|
|||
gnutls_global_init();
|
||||
#endif
|
||||
|
||||
initLrc(results[opts::UPDATEURL].toString(), connectivityMonitor_);
|
||||
|
||||
#ifdef Q_OS_UNIX
|
||||
GlobalInstances::setDBusErrorHandler(std::make_unique<Interfaces::DBusErrorHandler>());
|
||||
auto dBusErrorHandlerQObject = dynamic_cast<QObject*>(&GlobalInstances::dBusErrorHandler());
|
||||
|
@ -183,7 +185,6 @@ MainApplication::init()
|
|||
}
|
||||
#endif
|
||||
|
||||
initLrc(results[opts::UPDATEURL].toString(), connectivityMonitor_);
|
||||
|
||||
connect(connectivityMonitor_, &ConnectivityMonitor::connectivityChanged, [] {
|
||||
LRCInstance::connectivityChanged();
|
||||
|
|
Loading…
Add table
Reference in a new issue