From 9d3ae49e3014ffff59bf174412afaf9c7b800bd5 Mon Sep 17 00:00:00 2001 From: Robert Loehning Date: Fri, 26 Sep 2014 14:46:59 +0200 Subject: Session: Fix compilation This was broken in fe8ed7f5a666629ae43f8fc0888484a8bfa3b210 Change-Id: Iff4dffa6ba6cfdeeb3664c026ce642b80e4deeeb Reviewed-by: Daniel Teske --- src/plugins/projectexplorer/projectexplorer.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/plugins/projectexplorer/projectexplorer.cpp b/src/plugins/projectexplorer/projectexplorer.cpp index ce7f8b39a4..a113adbf9e 100644 --- a/src/plugins/projectexplorer/projectexplorer.cpp +++ b/src/plugins/projectexplorer/projectexplorer.cpp @@ -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))); -- cgit v1.2.1