mirror of
https://invent.kde.org/system/dolphin
synced 2024-08-22 09:50:12 +00:00
squash me with a some other commit in kitemlistwidgetinformant
This commit is contained in:
parent
ff8c61dbca
commit
ebd03cc205
|
@ -368,7 +368,6 @@ QRectF KItemListWidget::expansionToggleRect() const
|
||||||
QPixmap KItemListWidget::createDragPixmap(const QStyleOptionGraphicsItem* option,
|
QPixmap KItemListWidget::createDragPixmap(const QStyleOptionGraphicsItem* option,
|
||||||
QWidget* widget)
|
QWidget* widget)
|
||||||
{
|
{
|
||||||
QPixmap pixmap(size().toSize());
|
|
||||||
QPixmap pixmap(size().toSize() * widget->devicePixelRatio());
|
QPixmap pixmap(size().toSize() * widget->devicePixelRatio());
|
||||||
pixmap.setDevicePixelRatio(widget->devicePixelRatio());
|
pixmap.setDevicePixelRatio(widget->devicePixelRatio());
|
||||||
pixmap.fill(Qt::transparent);
|
pixmap.fill(Qt::transparent);
|
||||||
|
|
Loading…
Reference in a new issue