Commit 9d3ae49e authored by Robert Loehning's avatar Robert Loehning Committed by Daniel Teske
Browse files

Session: Fix compilation

This was broken in fe8ed7f5



Change-Id: Iff4dffa6ba6cfdeeb3664c026ce642b80e4deeeb
Reviewed-by: default avatarDaniel Teske <daniel.teske@digia.com>
parent fe8ed7f5
......@@ -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)));
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment