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

Method setAutoLoadLastSession

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

Source from the content-addressed store, hash-verified

92}
93
94void SessionManagerPrivate::setAutoLoadLastSession(bool autoLoad)
95{
96 if (isAutoLoad == autoLoad)
97 return;
98 isAutoLoad = autoLoad;
99 settings.setValue(kGeneralGroup, kIsAutoLoadLastSession, autoLoad);
100 settings.sync();
101}
102
103SessionManager::SessionManager(QObject *parent)
104 : QObject(parent),

Callers 1

showSessionManagerMethod · 0.80

Calls 2

setValueMethod · 0.45
syncMethod · 0.45

Tested by

no test coverage detected