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

QmlDesigner: Use generic signaling from project

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