Changeset 20395 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Jun 8, 2009 12:01:43 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r20200 r20395 2108 2108 { 2109 2109 bool virtEnabled = cconsole.GetDebugger().GetHWVirtExEnabled(); 2110 bool nestEnabled = cconsole.GetDebugger().GetHWVirtExNestedPagingEnabled();2111 2112 QString tip (tr("<qt>Indicates the status of the hardware virtualization "2113 "features used by this virtual machine:<br>"2114 "<nobr><b>%1:</b> %2</nobr><br>"2115 "<nobr><b>%3:</b> %4</nobr></qt>"));2116 2110 QString virtualization = virtEnabled ? 2117 2111 VBoxGlobal::tr ("Enabled", "details report (VT-x/AMD-V)") : 2118 2112 VBoxGlobal::tr ("Disabled", "details report (VT-x/AMD-V)"); 2113 2114 bool nestEnabled = cconsole.GetDebugger().GetHWVirtExNestedPagingEnabled(); 2119 2115 QString nestedPaging = nestEnabled ? 2120 2116 VBoxVMInformationDlg::tr ("Enabled", "nested paging") : 2121 2117 VBoxVMInformationDlg::tr ("Disabled", "nested paging"); 2122 2118 2123 mVirtLed->setToolTip (tip 2124 .arg (VBoxGlobal::tr ("VT-x/AMD-V", "details report"), virtualization) 2125 .arg (VBoxVMInformationDlg::tr ("Nested Paging"), nestedPaging)); 2126 2119 QString tip (tr ("Indicates the status of the hardware virtualization " 2120 "features used by this virtual machine:" 2121 "<br><nobr><b>%1:</b> %2</nobr>" 2122 "<br><nobr><b>%3:</b> %4</nobr>", 2123 "Virtualization Stuff LED") 2124 .arg (VBoxGlobal::tr ("VT-x/AMD-V", "details report"), virtualization) 2125 .arg (VBoxVMInformationDlg::tr ("Nested Paging"), nestedPaging)); 2126 2127 int cpuCount = cconsole.GetMachine().GetCPUCount(); 2128 if (cpuCount > 1) 2129 tip += tr ("<br><nobr><b>%1:</b> %2</nobr>", "Virtualization Stuff LED") 2130 .arg (VBoxGlobal::tr ("Processor(s)", "details report")).arg (cpuCount); 2131 2132 mVirtLed->setToolTip (tip); 2127 2133 mVirtLed->setState (virtEnabled); 2128 2134 }
Note:
See TracChangeset
for help on using the changeset viewer.