Changeset 52958 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Oct 6, 2014 5:57:01 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSnapshotDetailsDlg.cpp
r52722 r52958 74 74 /* Get thumbnail if present */ 75 75 ULONG width = 0, height = 0; 76 QVector <BYTE> thumbData = machine.ReadSavedThumbnailToArray (0, true, width, height);76 QVector <BYTE> thumbData = machine.ReadSavedThumbnailToArray (0, KBitmapFormat_BGR0, width, height); 77 77 mThumbnail = thumbData.size() != 0 ? QPixmap::fromImage (QImage (thumbData.data(), width, height, QImage::Format_RGB32).copy()) : QPixmap(); 78 78 QVector <BYTE> screenData = machine.ReadSavedScreenshotPNGToArray (0, width, height);
Note:
See TracChangeset
for help on using the changeset viewer.