From f0adc0eaa65f64f334695b57f19a084d7046c34d Mon Sep 17 00:00:00 2001 From: Christian Daniel Jensen Date: Mon, 2 Nov 2026 05:56:44 -0700 Subject: [PATCH] Avoid Qt-version-specific qMakePair helper in Essence chart ordering --- cockatrice/src/interface/essence_chart_colors.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cockatrice/src/interface/essence_chart_colors.h b/cockatrice/src/interface/essence_chart_colors.h index 455574320..12ae8cd25 100644 --- a/cockatrice/src/interface/essence_chart_colors.h +++ b/cockatrice/src/interface/essence_chart_colors.h @@ -33,13 +33,13 @@ inline QList> ordered(const QMap &values) const QString key(code); auto it = values.constFind(key); if (it != values.cend()) { - result.append(qMakePair(it.key(), it.value())); + result.append({it.key(), it.value()}); used.insert(key); } } for (auto it = values.cbegin(); it != values.cend(); ++it) { if (!used.contains(it.key())) { - result.append(qMakePair(it.key(), it.value())); + result.append({it.key(), it.value()}); } } return result;