- Timestamp:
- Nov 17, 2009 7:26:23 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSnapshotDetailsDlg.cpp
r24732 r24735 70 70 ULONG width = 0, height = 0; 71 71 QVector <BYTE> data = machine.ReadSavedThumbnailToArray (true, width, height); 72 mThumbnail = data.size() != 0 ? QPixmap::fromImage (QImage (data.data(), width, height, QImage::Format_RGB32) ) : QPixmap();72 mThumbnail = data.size() != 0 ? QPixmap::fromImage (QImage (data.data(), width, height, QImage::Format_RGB32).copy()) : QPixmap(); 73 73 QGridLayout *lt = qobject_cast <QGridLayout*> (layout()); 74 74 Assert (lt);
Note:
See TracChangeset
for help on using the changeset viewer.