Commit 6538ca63 authored by Lasse Holmstedt's avatar Lasse Holmstedt

Fixed clone constructor for qml run configuration

parent 9b060071
......@@ -70,10 +70,12 @@ QmlProjectRunConfiguration::QmlProjectRunConfiguration(Internal::QmlProjectTarge
QmlProjectRunConfiguration::QmlProjectRunConfiguration(Internal::QmlProjectTarget *parent, QmlProjectRunConfiguration *source) :
ProjectExplorer::RunConfiguration(parent, source),
m_scriptFile(source->m_scriptFile),
m_fileListModel(new QStringListModel(this)),
m_qmlViewerCustomPath(source->m_qmlViewerCustomPath),
m_qmlViewerArgs(source->m_qmlViewerArgs)
m_qmlViewerArgs(source->m_qmlViewerArgs),
m_projectTarget(parent)
{
setMainScript(source->m_scriptFile);
m_debugData.serverAddress = source->m_debugData.serverAddress;
m_debugData.serverPort = source->m_debugData.serverPort;
ctor();
......
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