VirtualBox

Ignore:
Timestamp:
Oct 6, 2014 5:57:01 PM (10 years ago)
Author:
vboxsync
Message:

Main: merged IMachine::readSavedThumbnailToArray and readSavedThumbnailPNGToArray

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxSnapshotDetailsDlg.cpp

    r52722 r52958  
    7474    /* Get thumbnail if present */
    7575    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);
    7777    mThumbnail = thumbData.size() != 0 ? QPixmap::fromImage (QImage (thumbData.data(), width, height, QImage::Format_RGB32).copy()) : QPixmap();
    7878    QVector <BYTE> screenData = machine.ReadSavedScreenshotPNGToArray (0, width, height);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette