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

Method SessionManager

src/plugins/core/session/sessionmanager.cpp:103–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

101}
102
103SessionManager::SessionManager(QObject *parent)
104 : QObject(parent),
105 d(new SessionManagerPrivate(this))
106{
107 d->readSettings();
108 connect(qApp, &QApplication::aboutToQuit, this, [this] {
109 if (!isSessionLoading() && !isDefaultVirgin())
110 saveSession();
111 d->saveSettings();
112 });
113}
114
115SessionManager::~SessionManager()
116{

Callers

nothing calls this directly

Calls 3

connectFunction · 0.85
readSettingsMethod · 0.45
saveSettingsMethod · 0.45

Tested by

no test coverage detected