forked from qt-creator/qt-creator
Session: Fix compilation
This was broken in fe8ed7f5a6
Change-Id: Iff4dffa6ba6cfdeeb3664c026ce642b80e4deeeb
Reviewed-by: Daniel Teske <daniel.teske@digia.com>
This commit is contained in:
committed by
Daniel Teske
parent
fe8ed7f5a6
commit
9d3ae49e30
@@ -1277,8 +1277,8 @@ void ProjectExplorerPlugin::updateRunWithoutDeployMenu()
|
||||
|
||||
ExtensionSystem::IPlugin::ShutdownFlag ProjectExplorerPlugin::aboutToShutdown()
|
||||
{
|
||||
disconnect(ModeManager::instance(), &ModeManager::currentModeChanged,
|
||||
this, &ProjectExplorerPlugin::currentModeChanged);
|
||||
disconnect(ModeManager::instance(), SIGNAL(currentModeChanged(Core::IMode*,Core::IMode*)),
|
||||
this, SLOT(currentModeChanged(Core::IMode*,Core::IMode*)));
|
||||
d->m_proWindow->aboutToShutdown(); // disconnect from session
|
||||
SessionManager::closeAllProjects();
|
||||
d->m_projectsMode = 0;
|
||||
@@ -1675,8 +1675,8 @@ void ProjectExplorerPlugin::restoreSession()
|
||||
SessionManager::loadSession(d->m_sessionToRestoreAtStartup);
|
||||
|
||||
// update welcome page
|
||||
connect(ModeManager::instance(), &ModeManager::currentModeChanged,
|
||||
this, &ProjectExplorerPlugin::currentModeChanged);
|
||||
connect(ModeManager::instance(), SIGNAL(currentModeChanged(Core::IMode*,Core::IMode*)),
|
||||
this, SLOT(currentModeChanged(Core::IMode*,Core::IMode*)));
|
||||
#if HAS_WELCOME_PAGE
|
||||
connect(d->m_welcomePage, SIGNAL(requestSession(QString)), this, SLOT(loadSession(QString)));
|
||||
connect(d->m_welcomePage, SIGNAL(requestProject(QString)), this, SLOT(openProjectWelcomePage(QString)));
|
||||
|
Reference in New Issue
Block a user