Changeset 39882 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Jan 26, 2012 12:54:50 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxVMInformationDlg.cpp
r35761 r39882 452 452 { 453 453 CConsole console = mSession.GetConsole(); 454 454 455 ULONG width = 0; 455 456 ULONG height = 0; … … 461 462 if (bpp) 462 463 resolution += QString ("x%1").arg (bpp); 463 QString virtualization = console.GetDebugger().GetHWVirtExEnabled() ? 464 465 CMachineDebugger debugger = console.GetDebugger(); 466 QString virtualization = debugger.GetHWVirtExEnabled() ? 464 467 VBoxGlobal::tr ("Enabled", "details report (VT-x/AMD-V)") : 465 468 VBoxGlobal::tr ("Disabled", "details report (VT-x/AMD-V)"); 466 QString nested = console.GetDebugger().GetHWVirtExNestedPagingEnabled() ?469 QString nested = debugger.GetHWVirtExNestedPagingEnabled() ? 467 470 VBoxGlobal::tr ("Enabled", "details report (Nested Paging)") : 468 471 VBoxGlobal::tr ("Disabled", "details report (Nested Paging)"); 469 QString addVersionStr = console.GetGuest().GetAdditionsVersion(); 472 473 CGuest guest = console.GetGuest(); 474 QString addVersionStr = guest.GetAdditionsVersion(); 470 475 if (addVersionStr.isEmpty()) 471 addVersionStr = tr ("Not Detected", "guest additions"); 472 QString osType = console.GetGuest().GetOSTypeId(); 476 addVersionStr = tr("Not Detected", "guest additions"); 477 else 478 { 479 ULONG revision = guest.GetAdditionsRevision(); 480 if (revision != 0) 481 addVersionStr += QString(" r%1").arg(revision); 482 } 483 QString osType = guest.GetOSTypeId(); 473 484 if (osType.isEmpty()) 474 485 osType = tr ("Not Detected", "guest os type"); 475 486 else 476 487 osType = vboxGlobal().vmGuestOSTypeDescription (osType); 488 477 489 int vrdePort = console.GetVRDEServerInfo().GetPort(); 478 490 QString vrdeInfo = (vrdePort == 0 || vrdePort == -1)?
Note:
See TracChangeset
for help on using the changeset viewer.