[kde] AchQtDBus::notifyFunc(): Fix the Qt4 build.
Some checks are pending
Codecov / run (push) Waiting to run
CodeQL / Analyze (cpp) (push) Waiting to run

This commit is contained in:
David Korth 2025-06-09 18:13:47 -04:00
parent 1aad707f88
commit bb2e0b5e87

View File

@ -110,8 +110,8 @@ int AchQtDBus::notifyFunc(Achievements::ID id)
// Build the text.
// TODO: Better formatting?
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
QString text = QString::fromLatin1("<u>%1</u>\n%2")
#if QT_VERSION >= QT_VERSION_CHECK(5, 0, 0)
.arg(U82Q(pAch->getName(id)).toHtmlEscaped(),
U82Q(pAch->getDescUnlocked(id)).toHtmlEscaped());
#else /* QT_VERSION < QT_VERSION_CHECK(5, 0, 0) */