+ support of exclusive Python command groups

This commit is contained in:
wmayer
2015-09-02 22:52:04 +02:00
parent c5a2d7dea1
commit eb4040d6d0
3 changed files with 43 additions and 2 deletions

View File

@@ -225,7 +225,7 @@ bool BitmapFactoryInst::loadPixmap(const QString& filename, QPixmap& icon) const
QPixmap BitmapFactoryInst::pixmap(const char* name) const
{
if (!name || *name == '\0')
return QPixmap(px);
return QPixmap();
// as very first test check whether the pixmap is in the cache
QMap<std::string, QPixmap>::ConstIterator it = d->xpmCache.find(name);