Changeset 22329 in vbox
- Timestamp:
- Aug 18, 2009 3:29:30 PM (15 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r21833 r22329 796 796 } 797 797 798 bool VBoxProblemReporter::askAboutSnapshotDiscarding() 799 { 800 return messageOkCancel (mainWindowShown(), Question, 801 tr ("<p>Are you sure you wish to merge the selected snapshot?</p>"), 802 "confirmSnapshotDiscarding" /* aAutoConfirmId */, 803 tr ("Discard"), tr ("Cancel")); 804 } 805 798 806 bool VBoxProblemReporter::askAboutSnapshotAndStateDiscarding() 799 807 { -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxSnapshotsWgt.cpp
r19239 r22329 539 539 void VBoxSnapshotsWgt::discardCurState() 540 540 { 541 if (!vboxProblem().askAboutSnapshotDiscarding()) 542 return; 543 541 544 SnapshotWgtItem *item = mTreeWidget->selectedItems().isEmpty() ? 0 : 542 545 static_cast<SnapshotWgtItem*> (mTreeWidget->selectedItems() [0]);
Note:
See TracChangeset
for help on using the changeset viewer.