File tree Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Expand file tree Collapse file tree 2 files changed +5
-7
lines changed Original file line number Diff line number Diff line change 50
50
#include < QLocale>
51
51
#include < QMessageBox>
52
52
#include < QSettings>
53
- #include < QStringBuilder>
54
53
#include < QThread>
55
54
#include < QTimer>
56
55
#include < QTranslator>
@@ -419,8 +418,8 @@ void BitcoinApplication::handleRunawayException(const QString &message)
419
418
{
420
419
QMessageBox::critical (
421
420
nullptr , tr (" Runaway exception" ),
422
- tr (" A fatal error occurred. %1 can no longer continue safely and will quit." ).arg (PACKAGE_NAME) %
423
- QLatin1String (" <br><br>" ) % GUIUtil::MakeHtmlLink (message, PACKAGE_BUGREPORT));
421
+ tr (" A fatal error occurred. %1 can no longer continue safely and will quit." ).arg (PACKAGE_NAME) +
422
+ QLatin1String (" <br><br>" ) + GUIUtil::MakeHtmlLink (message, PACKAGE_BUGREPORT));
424
423
::exit (EXIT_FAILURE);
425
424
}
426
425
@@ -430,8 +429,8 @@ void BitcoinApplication::handleNonFatalException(const QString& message)
430
429
QMessageBox::warning (
431
430
nullptr , tr (" Internal error" ),
432
431
tr (" An internal error occurred. %1 will attempt to continue safely. This is "
433
- " an unexpected bug which can be reported as described below." ).arg (PACKAGE_NAME) %
434
- QLatin1String (" <br><br>" ) % GUIUtil::MakeHtmlLink (message, PACKAGE_BUGREPORT));
432
+ " an unexpected bug which can be reported as described below." ).arg (PACKAGE_NAME) +
433
+ QLatin1String (" <br><br>" ) + GUIUtil::MakeHtmlLink (message, PACKAGE_BUGREPORT));
435
434
}
436
435
437
436
WId BitcoinApplication::getMainWinId () const
Original file line number Diff line number Diff line change 55
55
#include < QShortcut>
56
56
#include < QSize>
57
57
#include < QString>
58
- #include < QStringBuilder>
59
58
#include < QTextDocument> // for Qt::mightBeRichText
60
59
#include < QThread>
61
60
#include < QUrlQuery>
@@ -902,7 +901,7 @@ QString MakeHtmlLink(const QString& source, const QString& link)
902
901
{
903
902
return QString (source).replace (
904
903
link,
905
- QLatin1String (" <a href=\" " ) % link % QLatin1String (" \" >" ) % link % QLatin1String (" </a>" ));
904
+ QLatin1String (" <a href=\" " ) + link + QLatin1String (" \" >" ) + link + QLatin1String (" </a>" ));
906
905
}
907
906
908
907
void PrintSlotException (
You can’t perform that action at this time.
0 commit comments