MCPcopy Create free account
hub / github.com/KDE/kdevelop / backToCode

Method backToCode

kdevplatform/shell/areadisplay.cpp:102–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void AreaDisplay::backToCode()
103{
104 auto oldArea = m_mainWindow->area();
105 QString workingSet = oldArea->workingSet();
106 ICore::self()->uiController()->switchToArea(QStringLiteral("code"), IUiController::ThisWindow);
107 m_mainWindow->area()->setWorkingSet(workingSet, oldArea->workingSetPersistent(), oldArea);
108}
109
110QSize AreaDisplay::minimumSizeHint() const
111{

Callers

nothing calls this directly

Calls 6

switchToAreaMethod · 0.80
uiControllerMethod · 0.80
workingSetPersistentMethod · 0.80
areaMethod · 0.45
workingSetMethod · 0.45
setWorkingSetMethod · 0.45

Tested by

no test coverage detected