equal
deleted
inserted
replaced
6665 |
6665 |
6666 if (imageName.size() == 0) |
6666 if (imageName.size() == 0) |
6667 imageName = attr[QLatin1String("source")]; |
6667 imageName = attr[QLatin1String("source")]; |
6668 |
6668 |
6669 if (!imageName.isEmpty()) { |
6669 if (!imageName.isEmpty()) { |
6670 imgId = QString::fromLatin1("%1,%2,%3,%4").arg(imageName).arg(width).arg(height).arg((ulong)&factory); |
6670 imgId = QString::fromLatin1("%1,%2,%3,%4").arg(imageName).arg(width).arg(height).arg((quintptr)&factory); |
6671 if (!pixmap_map) |
6671 if (!pixmap_map) |
6672 pixmap_map = new QMap<QString, QPixmapInt>; |
6672 pixmap_map = new QMap<QString, QPixmapInt>; |
6673 if (pixmap_map->contains(imgId)) { |
6673 if (pixmap_map->contains(imgId)) { |
6674 QPixmapInt& pmi = pixmap_map->operator[](imgId); |
6674 QPixmapInt& pmi = pixmap_map->operator[](imgId); |
6675 pm = pmi.pm; |
6675 pm = pmi.pm; |