fix: qt 6.4.3 stringbuilding shenanigans with scope check message (#6083)

This commit is contained in:
pajlada
2025-03-16 13:04:18 +01:00
committed by GitHub
parent 57dc0144b2
commit e54e28ee39
2 changed files with 5 additions and 5 deletions
+4 -4
View File
@@ -2060,13 +2060,13 @@ MessagePtr MessageBuilder::makeLowTrustUpdateMessage(
MessagePtrMut MessageBuilder::makeMissingScopesMessage(
const QString &missingScopes)
{
auto warnText = u"Your account is missing the following permission(s): " %
missingScopes %
u". Some features might not work correctly.";
QString warnText =
u"Your account is missing the following permission(s): " %
missingScopes % u". Some features might not work correctly.";
auto linkText = u"Consider re-adding your account."_s;
MessageBuilder builder;
auto text = warnText % ' ' % linkText;
QString text = warnText % ' ' % linkText;
builder->messageText = text;
builder->searchText = text;
builder->flags.set(MessageFlag::System,