Changeset 94658 in vbox
- Timestamp:
- Apr 21, 2022 8:33:56 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 151021
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIMachineLogic.cpp
r94651 r94658 2448 2448 } 2449 2449 2450 #ifdef VBOX_WITH_DEBUGGER_GUI2451 2452 void UIMachineLogic::sltShowDebugStatistics()2453 {2454 if (dbgCreated())2455 {2456 keyboardHandler()->setDebuggerActive();2457 const QByteArray &expandBytes = uiCommon().getDebuggerStatisticsExpand().toUtf8();2458 const QByteArray &filterBytes = uiCommon().getDebuggerStatisticsFilter().toUtf8();2459 m_pDbgGuiVT->pfnShowStatistics(m_pDbgGui, filterBytes.constData(), expandBytes.constData());2460 }2461 }2462 2463 void UIMachineLogic::sltShowDebugCommandLine()2464 {2465 if (dbgCreated())2466 {2467 keyboardHandler()->setDebuggerActive();2468 m_pDbgGuiVT->pfnShowCommandLine(m_pDbgGui);2469 }2470 }2471 2472 void UIMachineLogic::sltLoggingToggled(bool fState)2473 {2474 NOREF(fState);2475 if (!debugger().isNull() && debugger().isOk())2476 debugger().SetLogEnabled(fState);2477 }2478 2479 2450 void UIMachineLogic::sltShowLogDialog() 2480 2451 { … … 2512 2483 pDialog->close(); 2513 2484 UIVMLogViewerDialogFactory().cleanup(pDialog); 2485 } 2486 2487 #ifdef VBOX_WITH_DEBUGGER_GUI 2488 2489 void UIMachineLogic::sltShowDebugStatistics() 2490 { 2491 if (dbgCreated()) 2492 { 2493 keyboardHandler()->setDebuggerActive(); 2494 const QByteArray &expandBytes = uiCommon().getDebuggerStatisticsExpand().toUtf8(); 2495 const QByteArray &filterBytes = uiCommon().getDebuggerStatisticsFilter().toUtf8(); 2496 m_pDbgGuiVT->pfnShowStatistics(m_pDbgGui, filterBytes.constData(), expandBytes.constData()); 2497 } 2498 } 2499 2500 void UIMachineLogic::sltShowDebugCommandLine() 2501 { 2502 if (dbgCreated()) 2503 { 2504 keyboardHandler()->setDebuggerActive(); 2505 m_pDbgGuiVT->pfnShowCommandLine(m_pDbgGui); 2506 } 2507 } 2508 2509 void UIMachineLogic::sltLoggingToggled(bool fState) 2510 { 2511 NOREF(fState); 2512 if (!debugger().isNull() && debugger().isOk()) 2513 debugger().SetLogEnabled(fState); 2514 2514 } 2515 2515
Note:
See TracChangeset
for help on using the changeset viewer.