┌   ┐
54
└   ┘

summaryrefslogtreecommitdiff
path: root/src/kitemviews/kfileitemlistview.cpp
diff options
context:
space:
mode:
authorDavid Edmundson <[email protected]>2015-03-27 15:43:06 +0100
committerDavid Edmundson <[email protected]>2015-03-27 16:28:57 +0100
commit1b6ee5d6cd918b81c59a5163c9d6371f35f9885c (patch)
treec3163b42590feb0d53962c51e1c42c9eaf3e0453 /src/kitemviews/kfileitemlistview.cpp
parent35c0972671c1f90f76d8d86b002b2e1f8bac79dd (diff)
review comments
Diffstat (limited to 'src/kitemviews/kfileitemlistview.cpp')
-rw-r--r--src/kitemviews/kfileitemlistview.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/kitemviews/kfileitemlistview.cpp b/src/kitemviews/kfileitemlistview.cpp
index 18b193572..5efb820b0 100644
--- a/src/kitemviews/kfileitemlistview.cpp
+++ b/src/kitemviews/kfileitemlistview.cpp
@@ -156,9 +156,9 @@ QPixmap KFileItemListView::createDragPixmap(const KItemSet& indexes) const
yCount = xCount;
}
- qreal dpr = scene()->views()[0]->devicePixelRatio();
+ const qreal dpr = scene()->views()[0]->devicePixelRatio();
// Draw the selected items into the grid cells.
- QPixmap dragPixmap(QSize(xCount * size + xCount, yCount * size + yCount)*dpr);
+ QPixmap dragPixmap(QSize(xCount * size + xCount, yCount * size + yCount) * dpr);
dragPixmap.setDevicePixelRatio(dpr);
dragPixmap.fill(Qt::transparent);