diff options
author | Daniel Teske <daniel.teske@nokia.com> | 2012-02-06 14:52:35 +0100 |
---|---|---|
committer | Daniel Teske <daniel.teske@nokia.com> | 2012-02-07 14:59:03 +0100 |
commit | c59bf4b402226cf3dcfec242951954111470e1c5 (patch) | |
tree | 76419529bf5c24891f2e587b689498d289c44994 /src/plugins/projectexplorer/session.h | |
parent | acf98f13fbefe0fc47b0439bb3316f2a3fccc034 (diff) | |
download | qt-creator-c59bf4b402226cf3dcfec242951954111470e1c5.tar.gz |
Move creating of the default session into the SessionManager ctor
There used to be 3 states for the SessionManager:
1) Uninitialized (after ctor)
2) A default virgin session
3) Using a session (including the default session)
And we used to switch from state 1 to 2 or 3 after ICore::coreOpened().
This changes that we start in state 2 and thus don't emit a few signals
after coreOpened. I don't think that'll break anything.
Change-Id: I4cf7dade132c9d0ebd6d472d79c8b70c07acd20f
Reviewed-by: Tobias Hunger <tobias.hunger@nokia.com>
Diffstat (limited to 'src/plugins/projectexplorer/session.h')
-rw-r--r-- | src/plugins/projectexplorer/session.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/session.h b/src/plugins/projectexplorer/session.h index dd93601cb6..d7a3304dae 100644 --- a/src/plugins/projectexplorer/session.h +++ b/src/plugins/projectexplorer/session.h @@ -76,7 +76,6 @@ public: QString lastSession() const; QStringList sessions() const; - void createAndLoadNewDefaultSession(); bool createSession(const QString &session); bool deleteSession(const QString &session); |