summaryrefslogtreecommitdiffstats
path: root/src/shared/qtgradienteditor/qtgradientutils.cpp
diff options
context:
space:
mode:
authorFriedemann Kleint <Friedemann.Kleint@qt.io>2023-12-15 10:02:05 +0100
committerFriedemann Kleint <Friedemann.Kleint@qt.io>2023-12-15 14:14:27 +0100
commit36ae08faf04ec68f75f4f0ac9454cee2351f871e (patch)
treea0645b160ba3e4ee227ad0ede7301033eb742691 /src/shared/qtgradienteditor/qtgradientutils.cpp
parentc7b25190d804f0a6751b57b2e4694976b2d2f6f0 (diff)
Qt Designer: port away from QPair
Add fixme comment for public API. Pick-to: 6.7 Task-number: QTBUG-115841 Change-Id: Id518638b7112b68d5cbbcbb2b66ec9dbb7e3108b Reviewed-by: Jarek Kobus <jaroslaw.kobus@qt.io>
Diffstat (limited to 'src/shared/qtgradienteditor/qtgradientutils.cpp')
-rw-r--r--src/shared/qtgradienteditor/qtgradientutils.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/qtgradienteditor/qtgradientutils.cpp b/src/shared/qtgradienteditor/qtgradientutils.cpp
index 625f1b159..fa79826b9 100644
--- a/src/shared/qtgradienteditor/qtgradientutils.cpp
+++ b/src/shared/qtgradienteditor/qtgradientutils.cpp
@@ -156,7 +156,7 @@ static QGradientStop loadGradientStop(const QDomElement &elem)
return QGradientStop();
const qreal pos = static_cast<qreal>(elem.attribute("position"_L1).toDouble());
- return qMakePair(pos, loadColor(elem.firstChild().toElement()));
+ return std::make_pair(pos, loadColor(elem.firstChild().toElement()));
}
static QGradient loadGradient(const QDomElement &elem)