Commit 55a10401 authored by Boudewijn Rempt's avatar Boudewijn Rempt

Simplify the color string

CCBUG:339594
parent 758833be
......@@ -322,8 +322,6 @@ KoColor KoColor::fromXML(const QDomElement& elt, const QString & bitDepthId, con
QString KoColor::toQString(const KoColor &color)
{
QStringList ls;
ls << color.colorSpace()->name();
foreach(KoChannelInfo *channel, KoChannelInfo::displayOrderSorted(color.colorSpace()->channels())) {
ls << channel->name();
ls << color.colorSpace()->channelValueText(color.data(), channel->pos());
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment