Commit 98192159 authored by Tobias Hunger's avatar Tobias Hunger Committed by Tim Jenssen
Browse files

Revert "QmlDesigner: Use generic signaling from project"

The code that this depends on is not there yet.

This reverts commit e6f06957


Change-Id: I61d4ff735342731a781960b19b047613b58a23b5
Reviewed-by: default avatarTim Jenssen <>
parent b6a6796d
......@@ -644,7 +644,7 @@ static inline Kit *getActiveKit(DesignDocument *designDocument)
QObject::connect(ProjectTree::instance(), &ProjectTree::currentProjectChanged,
designDocument, &DesignDocument::updateActiveQtVersion, Qt::UniqueConnection);
QObject::connect(currentProject, &Project::activeProjectConfigurationChanged,
QObject::connect(currentProject, &Project::activeTargetChanged,
designDocument, &DesignDocument::updateActiveQtVersion, Qt::UniqueConnection);
......@@ -663,10 +663,7 @@ static inline Kit *getActiveKit(DesignDocument *designDocument)
void DesignDocument::updateActiveQtVersion()
Kit *k = getActiveKit(this);
if (k == m_currentKit)
m_currentKit = k;
m_currentKit = getActiveKit(this);
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