Skip to content

armgit / krita

Public Imported from GitHub
0

Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.

C++

Use QList instead of QVector for icccolorprofile.cpp

Wolthera van Hövell tot Westerfliere2be70b65a9a
diff --git a/plugins/color/lcms2engine/colorprofiles/IccColorProfile.cpp b/plugins/color/lcms2engine/colorprofiles/IccColorProfile.cpp
index cc509472bf..af14d114d6 100644
--- a/plugins/color/lcms2engine/colorprofiles/IccColorProfile.cpp
+++ b/plugins/color/lcms2engine/colorprofiles/IccColorProfile.cpp
@@ -114,7 +114,7 @@ IccColorProfile::IccColorProfile(const KoColorProfileQuery &query)
cmsCIExyY whitePoint;
- QVector<KoColorimetryUtils::xy> modifiedColorants = query.rgbColorants;
+ QList<KoColorimetryUtils::xy> modifiedColorants = query.rgbColorants;
KoColorimetryUtils::xy wp = query.whitePoint;