#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()
|
void ActivationNotifier::notify()
|
||||||
{
|
{
|
||||||
CoreInterface coreInterface;
|
CoreInterface coreInterface;
|
||||||
|
try {
|
||||||
coreInterface.notifyActivation(m_Identity);
|
coreInterface.notifyActivation(m_Identity);
|
||||||
|
}
|
||||||
|
catch (...) {
|
||||||
|
// catch all exceptions and fails silently
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -243,8 +243,7 @@ void SetupWizard::reject()
|
||||||
}
|
}
|
||||||
|
|
||||||
// treat cancel as skip
|
// treat cancel as skip
|
||||||
CoreInterface coreInterface;
|
notifyActivation("skip:unknown");
|
||||||
coreInterface.notifyActivation("skip:unknown");
|
|
||||||
|
|
||||||
QWizard::reject();
|
QWizard::reject();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue