Skip to content

Commit

Permalink
Fix building with older Qt
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Nov 23, 2024
1 parent 09142d3 commit 121c822
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Quotient/events/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ void AbstractEventMetaType::addDerived(const AbstractEventMetaType* newType)
// is not normal, so give as much information as possible to diagnose
if (QUO_ALARM_X(
(*existing)->className == newType->className,
QLatin1StringView(newType->className) % " claims '"_L1 % newType->matrixId
% "' repeatedly;"
" check that it's exported across translation units or shared objects"_L1))
QString::fromLatin1(newType->className) % u" claims '" % newType->matrixId
% u"' repeatedly;"
" check that it's exported across translation units or shared objects"))
return; // That situation is very wrong so maybe std::terminate() even?

qWarning(EVENTS).nospace() << newType->matrixId << " is already mapped to "
Expand Down

0 comments on commit 121c822

Please sign in to comment.