儲存庫 vbox 的更動 67546
- 時間撮記:
- 2017-6-21 下午03:39:01 (7 年 以前)
- 位置:
- trunk/src/VBox/Frontends/VirtualBox/src/selector
- 檔案:
-
- 修改 2 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotPane.cpp
r67543 r67546 556 556 << tr("Taken", "snapshot"); 557 557 m_pSnapshotTree->setHeaderLabels(fields); 558 559 /* Refresh whole the tree: */ 560 refreshAll(); 558 561 } 559 562 … … 833 836 { 834 837 LogRel(("GUI: Snapshot tree update failed! Rebuilding from scratch...\n")); 835 re turn refreshAll();838 refreshAll(); 836 839 } 837 840 } … … 1503 1506 QString strFinalDescription; 1504 1507 1505 /* Should we take snapshot manually?*/1508 /* In manual mode we should show take snapshot dialog: */ 1506 1509 if (!fAutomatically) 1507 1510 { … … 1589 1592 break; 1590 1593 1591 /* Ask if user really wants to remove the selected snapshot: */1594 /* In manual mode we should ask if user really wants to remove the selected snapshot: */ 1592 1595 if (!fAutomatically && !msgCenter().confirmSnapshotRemoval(comSnapshot.GetName())) 1593 1596 break; … … 1648 1651 } 1649 1652 1650 bool UISnapshotPane::restoreSnapshot(bool f SuppressNonCriticalWarnings/* = false */)1653 bool UISnapshotPane::restoreSnapshot(bool fAutomatically /* = false */) 1651 1654 { 1652 1655 /* Simulate try-catch block: */ … … 1666 1669 break; 1667 1670 1668 /* I f non-critical warnings are not hidden or current state is changed: */1669 if (!f SuppressNonCriticalWarnings&& m_comMachine.GetCurrentStateModified())1671 /* In manual mode we should check whether current state is changed: */ 1672 if (!fAutomatically && m_comMachine.GetCurrentStateModified()) 1670 1673 { 1671 1674 /* Ask if user really wants to restore the selected snapshot: */ -
trunk/src/VBox/Frontends/VirtualBox/src/selector/UISnapshotPane.h
r67543 r67546 171 171 bool deleteSnapshot(bool fAutomatically = false); 172 172 /** Proposes to restore the snapshot. */ 173 bool restoreSnapshot(bool f SuppressNonCriticalWarnings= false);173 bool restoreSnapshot(bool fAutomatically = false); 174 174 /** Proposes to clone the snapshot. */ 175 175 void cloneSnapshot();
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器