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 21, 2024
1 parent 09142d3 commit eeb1b01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 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
QByteArrayView(newType->className) % " claims '" % newType->matrixId.constData()
% "' repeatedly;"
" check that it's exported across translation units or shared objects"_L1))
" 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 eeb1b01

Please sign in to comment.