Changeset 51134 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Apr 24, 2014 11:35:48 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 93442
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIFrameBufferQImage.cpp
r51133 r51134 318 318 subPixmap = subPixmap.scaled(subPixmap.size() * dBackingScaleFactor, 319 319 Qt::IgnoreAspectRatio, Qt::FastTransformation); 320 # ifdef Q_WS_MAC 320 321 subPixmap.setDevicePixelRatio(dBackingScaleFactor); 322 # endif /* Q_WS_MAC */ 321 323 } 322 324 … … 330 332 QImage scaledSubImage = subImage.scaled(subImage.size() * dBackingScaleFactor, 331 333 Qt::IgnoreAspectRatio, Qt::FastTransformation); 334 # ifdef Q_WS_MAC 332 335 scaledSubImage.setDevicePixelRatio(dBackingScaleFactor); 336 # endif /* Q_WS_MAC */ 333 337 /* Directly draw scaled-sub-image: */ 334 338 painter.drawImage(rect.x(), rect.y(), scaledSubImage);
Note:
See TracChangeset
for help on using the changeset viewer.