/branches/Version13x/Scribus/scribus/util.cpp |
---|
1270,7 → 1270,7 |
} |
QPixmap * getFancyPixmap(ScColor col) { |
//static QMap<Q_UINT64, QPixmap*> pxCache; |
static QMap<Q_UINT64, QPixmap*> pxCache; |
static QPixmap alertIcon; |
static QPixmap cmykIcon; |
1289,7 → 1289,7 |
} |
QPixmap * pa = getSmallPixmap(col.getRawRGBColor()); |
/* CB disabled due to ugly memory leak here |
/* |
QPixmap * pa = pxCache[code64(col)]; |
if (!pa) { |
pa = new QPixmap(60, 15); |