MCPcopy Create free account
hub / github.com/PCSX2/pcsx2 / openStateChanged

Method openStateChanged

pcsx2-qt/Debugger/Docking/DockViews.cpp:87–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

85}
86
87void DockWidget::openStateChanged(bool open)
88{
89 // The LayoutSaver class will close a bunch of dock widgets. We only want to
90 // delete the dock widgets when they're being closed by the user.
91 if (KDDockWidgets::LayoutSaver::restoreInProgress())
92 return;
93
94 if (!open && g_debugger_window)
95 g_debugger_window->dockManager().destroyDebuggerView(uniqueName());
96}
97
98// *****************************************************************************
99

Callers

nothing calls this directly

Calls 1

destroyDebuggerViewMethod · 0.45

Tested by

no test coverage detected