gui: use PACKAGE_NAME in exception message

pull/18646/head
fanquake 5 years ago
parent 5447d57bff
commit 1b04302e43
No known key found for this signature in database
GPG Key ID: 2EEB9F5CC09526C1

@ -381,7 +381,7 @@ void BitcoinApplication::shutdownResult()
void BitcoinApplication::handleRunawayException(const QString &message)
{
QMessageBox::critical(nullptr, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. Bitcoin can no longer continue safely and will quit.") + QString("\n\n") + message);
QMessageBox::critical(nullptr, "Runaway exception", BitcoinGUI::tr("A fatal error occurred. %1 can no longer continue safely and will quit.").arg(PACKAGE_NAME) + QString("\n\n") + message);
::exit(EXIT_FAILURE);
}

Loading…
Cancel
Save