mirror of https://github.com/debauchee/barrier.git
#5461 Caught all exceptions for activation
This commit is contained in:
parent
2ed3d26817
commit
0034ca4b76
|
@ -32,5 +32,10 @@ void ActivationNotifier::setIdentity(QString identity)
|
|||
void ActivationNotifier::notify()
|
||||
{
|
||||
CoreInterface coreInterface;
|
||||
try {
|
||||
coreInterface.notifyActivation(m_Identity);
|
||||
}
|
||||
catch (...) {
|
||||
// catch all exceptions and fails silently
|
||||
}
|
||||
}
|
||||
|
|
|
@ -243,8 +243,7 @@ void SetupWizard::reject()
|
|||
}
|
||||
|
||||
// treat cancel as skip
|
||||
CoreInterface coreInterface;
|
||||
coreInterface.notifyActivation("skip:unknown");
|
||||
notifyActivation("skip:unknown");
|
||||
|
||||
QWizard::reject();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue