Fix image size when not using artist images
This commit is contained in:
committed by
Craig Drummond
parent
f5626878a6
commit
1217a78696
@@ -224,7 +224,8 @@ public:
|
||||
}
|
||||
}
|
||||
if (!pix) {
|
||||
pix=index.data(Qt::DecorationRole).value<QIcon>().pixmap(detailedViewDecorationSize, detailedViewDecorationSize);
|
||||
int size=iconMode ? gridCoverSize : detailedViewDecorationSize;
|
||||
pix=index.data(Qt::DecorationRole).value<QIcon>().pixmap(size, size);
|
||||
}
|
||||
|
||||
bool oneLine = childText.isEmpty();
|
||||
|
||||
Reference in New Issue
Block a user