Update toolwindowmanager to 368309a

This commit is contained in:
baldurk
2017-06-19 15:20:28 +01:00
parent 2831c4dfdd
commit cc1abb98a9
@@ -1010,7 +1010,8 @@ void ToolWindowManager::finishDrag() {
void ToolWindowManager::drawHotspotPixmaps() {
for (AreaReferenceType ref : { AddTo, LeftOf, TopOf, RightOf, BottomOf }) {
m_pixmaps[ref] = QPixmap(m_dropHotspotDimension, m_dropHotspotDimension);
m_pixmaps[ref] = QPixmap(m_dropHotspotDimension*devicePixelRatio(), m_dropHotspotDimension*devicePixelRatio());
m_pixmaps[ref].setDevicePixelRatio(devicePixelRatioF());
QPainter p(&m_pixmaps[ref]);
p.setCompositionMode(QPainter::CompositionMode_Source);