fix: qt 6.4.3 stringbuilding shenanigans with scope check message (#6083)
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user