mirror of
https://github.com/status-im/snorenotify.git
synced 2025-01-24 23:41:10 +00:00
delay application registration
This commit is contained in:
parent
5ca5c5df79
commit
5283471eda
@ -47,7 +47,7 @@ bool SnoreBackend::initialize()
|
|||||||
connect(SnoreCorePrivate::instance(), &SnoreCorePrivate::notify, this, &SnoreBackend::slotNotify, Qt::QueuedConnection);
|
connect(SnoreCorePrivate::instance(), &SnoreCorePrivate::notify, this, &SnoreBackend::slotNotify, Qt::QueuedConnection);
|
||||||
|
|
||||||
for (const Application &a : SnoreCore::instance().aplications()) {
|
for (const Application &a : SnoreCore::instance().aplications()) {
|
||||||
this->slotRegisterApplication(a);
|
QMetaObject::invokeMethod(this, "slotRegisterApplication", Qt::QueuedConnection, Q_ARG(Snore::Application, a));
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user