Skip to content

Commit

Permalink
event.cpp: try getting back to QLatin1StringView
Browse files Browse the repository at this point in the history
  • Loading branch information
KitsuneRal committed Nov 25, 2024
1 parent 5f9b530 commit 8c3753a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quotient/events/event.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ 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,
QString::fromLatin1(newType->className) % " claims '"_L1 % newType->matrixId
QLatin1StringView(newType->className) % " claims '"_L1 % newType->matrixId
% "' repeatedly;"
" check that it's exported across translation units or shared objects"_L1))
return; // That situation is very wrong so maybe std::terminate() even?
Expand Down

0 comments on commit 8c3753a

Please sign in to comment.