Restore missing functionality

This commit is contained in:
James Graham
2026-01-04 19:19:22 +00:00
parent d10fe4a684
commit d0abfe60f9
15 changed files with 330 additions and 219 deletions

View File

@@ -55,6 +55,10 @@ QString QmlUtils::nameForPowerLevelValue(const int value)
bool Utils::isEmoji(const QString &text)
{
if (text.isEmpty()) {
return false;
}
#ifdef HAVE_ICU
QTextBoundaryFinder finder(QTextBoundaryFinder::Grapheme, text);
int from = 0;