MCPcopy Create free account
hub / github.com/Codeya-IDE/deepin-ide / createSession

Method createSession

src/plugins/core/session/sessionlistview.cpp:96–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

94}
95
96void SessionListView::createSession()
97{
98 SessionNameInputDialog dlg;
99 dlg.setTitle(tr("New Session Name"));
100 dlg.setActionText(tr("Create", "button"),
101 tr("Create and Open", "button"));
102
103 runInputDialog(&dlg, [](const QString &newName) {
104 SessionManager::instance()->createSession(newName);
105 });
106}
107
108void SessionListView::removeSelectedSessions()
109{

Callers

nothing calls this directly

Calls 2

setActionTextMethod · 0.80
setTitleMethod · 0.45

Tested by

no test coverage detected