VirtualBox

Changeset 44043 in vbox for trunk/src/VBox/Main/src-server


Ignore:
Timestamp:
Dec 5, 2012 3:48:04 PM (12 years ago)
Author:
vboxsync
Message:

Main/VirtualBox: fix bug in creating SnapshotEvents, the event type was always OnSnapshotTaken, even if the snapshot was deleted

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/VirtualBoxImpl.cpp

    r44039 r44043  
    29982998    virtual HRESULT prepareEventDesc(IEventSource* aSource, VBoxEventDesc& aEvDesc)
    29992999    {
    3000         return aEvDesc.init(aSource, VBoxEventType_OnSnapshotTaken,
    3001                             machineId.toUtf16().raw(), snapshotId.toUtf16().raw());
     3000        return aEvDesc.init(aSource, mWhat, machineId.toUtf16().raw(),
     3001                            snapshotId.toUtf16().raw());
    30023002    }
    30033003
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