儲存庫 vbox 的更動 4450
- 時間撮記:
- 2007-8-30 下午04:23:24 (17 年 以前)
- 檔案:
-
- 修改 1 筆資料
圖例:
- 未更動
- 新增
- 刪除
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r4354 r4450 1687 1687 { 1688 1688 CVRDPServer vrdpsrv = csession.GetMachine().GetVRDPServer(); 1689 if (vrdpsrv.isNull()) 1690 return; 1691 1692 /* update menu&status icon state */ 1693 bool isVRDPEnabled = vrdpsrv.GetEnabled(); 1694 devicesSwitchVrdpAction->setOn (isVRDPEnabled); 1689 if (!vrdpsrv.isNull()) 1690 { 1691 /* update menu&status icon state */ 1692 bool isVRDPEnabled = vrdpsrv.GetEnabled(); 1693 devicesSwitchVrdpAction->setOn (isVRDPEnabled); 1695 1694 #if 0 1696 vrdp_state->setState (isVRDPEnabled ? 1 : 0); 1697 1698 /* compose status icon tooltip */ 1699 QString tip = tr ("Indicates whether the Remote Display (VRDP Server) " 1700 "is enabled (<img src=vrdp_16px.png/>) or not " 1701 "(<img src=vrdp_disabled_16px.png/>)." 1702 ); 1703 if (vrdpsrv.GetEnabled()) 1704 tip += tr ("<hr>VRDP Server is listening on port %1").arg (vrdpsrv.GetPort()); 1705 QToolTip::add (vrdp_state, tip); 1706 #endif 1695 vrdp_state->setState (isVRDPEnabled ? 1 : 0); 1696 1697 /* compose status icon tooltip */ 1698 QString tip = tr ("Indicates whether the Remote Display (VRDP Server) " 1699 "is enabled (<img src=vrdp_16px.png/>) or not " 1700 "(<img src=vrdp_disabled_16px.png/>)." 1701 ); 1702 if (vrdpsrv.GetEnabled()) 1703 tip += tr ("<hr>VRDP Server is listening on port %1").arg (vrdpsrv.GetPort()); 1704 QToolTip::add (vrdp_state, tip); 1705 #endif 1706 } 1707 1707 } 1708 1708 if (element & SharedFolderStuff)
注意:
瀏覽 TracChangeset
來幫助您使用更動檢視器