Commit be7d63c9 authored by Friedemann Kleint's avatar Friedemann Kleint Committed by hjk
Browse files

Fix build of ProjectExplorer with g++ 4.8.2.

The compiler is unable to match the arguments of the connect
statement when a QPointer is involved.

Change-Id: I87d3c11b9452f07739bf4e905a18071145c4e21d
Reviewed-by: default avatarhjk <>
parent f6c0e573
......@@ -220,9 +220,9 @@ void ProjectTree::update(Node *node, Project *project)
if (project != m_currentProject) {
if (m_currentProject) {
disconnect(m_currentProject, &Project::projectContextUpdated,
disconnect(, &Project::projectContextUpdated,
this, &ProjectTree::updateContext);
disconnect(m_currentProject, &Project::projectLanguagesUpdated,
disconnect(, &Project::projectLanguagesUpdated,
this, &ProjectTree::updateContext);
......@@ -230,9 +230,9 @@ void ProjectTree::update(Node *node, Project *project)
emit currentProjectChanged(m_currentProject);
if (m_currentProject) {
connect(m_currentProject, &Project::projectContextUpdated,
connect(, &Project::projectContextUpdated,
this, &ProjectTree::updateContext);
connect(m_currentProject, &Project::projectLanguagesUpdated,
connect(, &Project::projectLanguagesUpdated,
this, &ProjectTree::updateContext);
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