VirtualBox

Changeset 18278 in vbox


Ignore:
Timestamp:
Mar 25, 2009 7:54:48 PM (16 years ago)
Author:
vboxsync
Message:

OVF: fix broken progress computation on export

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ApplianceImpl.cpp

    r18273 r18278  
    38833883            rc = pHardDisk->COMGETTER(Name)(bstrName.asOutParam());
    38843884            if (FAILED(rc)) throw rc;
     3885
     3886            // force reading state, or else size will be returned as 0
     3887            MediaState_T ms;
     3888            rc = pHardDisk->COMGETTER(State)(&ms);
     3889            if (FAILED(rc)) throw rc;
     3890
    38853891            ULONG64 ullSize;
    38863892            rc = pHardDisk->COMGETTER(Size)(&ullSize);
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