No longer a QPixmap pointer
This commit is contained in:
parent
2d5fef28fa
commit
bcd24e9381
1 changed files with 2 additions and 2 deletions
|
@ -90,8 +90,8 @@ namespace Danbooru {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (role == Qt::DecorationRole) {
|
if (role == Qt::DecorationRole) {
|
||||||
const QPixmap* pixmap = post->pixmap();
|
const QPixmap pixmap = post->pixmap();
|
||||||
return *pixmap;
|
return pixmap;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (role == Qt::ToolTipRole) {
|
if (role == Qt::ToolTipRole) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue