No longer a QPixmap pointer

This commit is contained in:
Luca Beltrame 2014-10-04 11:04:18 +02:00
parent 2d5fef28fa
commit bcd24e9381

View file

@ -90,8 +90,8 @@ namespace Danbooru {
}
if (role == Qt::DecorationRole) {
const QPixmap* pixmap = post->pixmap();
return *pixmap;
const QPixmap pixmap = post->pixmap();
return pixmap;
}
if (role == Qt::ToolTipRole) {