QRect rect = option.rect;
rect.adjust(20, 8, -20, -8);
QPoint topleft = rect.topLeft();
- topleft.ry() += 2;
+ QPoint bottomleft = rect.bottomLeft();
rect.adjust(36, 0, 0, 0);
painter->save();
painter->drawImage(topleft, img);
}
+ if(e->flags & ENTRY_FLAG_SHARED) {
+ QImage img = QImage(QLatin1String(":/images/shared-1"));
+ bottomleft.ry() -= img.height();
+ painter->drawImage(bottomleft, img);
+ }
+
painter->restore();
}