r14012 by fschmid - Mac Pict Importer: Fixed accidently swapped fore and back colors in patterns.
scribus-commit
scribus-commit at lists.scribus.net
Mon Sep 21 14:40:15 CEST 2009
Revision: 14012
Author: fschmid
Date: 2009-09-21T12:41:20.507038Z
Commit message: Mac Pict Importer: Fixed accidently swapped fore and back colors in patterns.
Changeset:
M /trunk/Scribus/scribus/plugins/pctimplugin/importpct.cpp
Diffs:
Index: scribus/plugins/pctimplugin/importpct.cpp
===================================================================
--- scribus/plugins/pctimplugin/importpct.cpp (revision 14011)
+++ scribus/plugins/pctimplugin/importpct.cpp (revision 14012)
@@ -1910,8 +1910,8 @@
uint oldNum = m_Doc->TotalItems;
QImage image = QImage(8, 8, QImage::Format_Mono);
QVector<QRgb> colors;
+ colors.append(backColor.rgb());
colors.append(foreColor.rgb());
- colors.append(backColor.rgb());
image.setColorTable(colors);
for (int rr = 0; rr < 8; rr++)
{
More information about the scribus-commit
mailing list