儲存庫 vbox 的更動 67543
- 時間撮記:
- 2017-6-21 下午02:25:46 (7 年 以前)
- 位置:
- trunk/src/VBox/Frontends/VirtualBox/src/selector
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotPane.cpp
r67540 r67543 1090 1090 restoreSnapshot(true /* suppress non-critical warnings */); 1091 1091 } 1092 /* Handle Ctrl+Shift+DoubleClick: */ 1093 else if (QApplication::keyboardModifiers() == (Qt::KeyboardModifiers)(Qt::ControlModifier | Qt::ShiftModifier)) 1094 { 1095 /* As snapshot-delete procedure: */ 1096 if (!pSnapshotItem->isCurrentStateItem()) 1097 deleteSnapshot(true /* automatically */); 1098 } 1092 1099 /* Handle other kinds of DoubleClick: */ 1093 1100 else … … 1564 1571 } 1565 1572 1566 bool UISnapshotPane::deleteSnapshot( )1573 bool UISnapshotPane::deleteSnapshot(bool fAutomatically /* = false */) 1567 1574 { 1568 1575 /* Simulate try-catch block: */ … … 1583 1590 1584 1591 /* Ask if user really wants to remove the selected snapshot: */ 1585 if (! msgCenter().confirmSnapshotRemoval(comSnapshot.GetName()))1592 if (!fAutomatically && !msgCenter().confirmSnapshotRemoval(comSnapshot.GetName())) 1586 1593 break; 1587 1594 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotPane.h
r67540 r67543 169 169 bool takeSnapshot(bool fAutomatically = false); 170 170 /** Proposes to delete the snapshot. */ 171 bool deleteSnapshot( );171 bool deleteSnapshot(bool fAutomatically = false); 172 172 /** Proposes to restore the snapshot. */ 173 173 bool restoreSnapshot(bool fSuppressNonCriticalWarnings = false);
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器