summaryrefslogtreecommitdiff
path: root/src/plugins/qmlprojectmanager
diff options
context:
space:
mode:
authorDaniel Teske <daniel.teske@digia.com>2014-01-16 12:20:54 +0100
committerDaniel Teske <daniel.teske@digia.com>2014-01-16 14:13:55 +0100
commit534e56faaa5a8c13f0cad4ca85edaf5ec4576652 (patch)
treec5860bbfbb127bd94131fa70af681ce8e9b1a110 /src/plugins/qmlprojectmanager
parentd879e30d55b71a4ea89996e03012f424004bfd1c (diff)
downloadqt-creator-534e56faaa5a8c13f0cad4ca85edaf5ec4576652.tar.gz
QmlProjectRunConfiguration: Fix copy-ctor to copy all members
Change-Id: Iaf9c9da3313b9ed5201515862dbf4a8de095952a Reviewed-by: Kai Koehne <kai.koehne@digia.com> Reviewed-by: Tobias Hunger <tobias.hunger@digia.com>
Diffstat (limited to 'src/plugins/qmlprojectmanager')
-rw-r--r--src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp b/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp
index e02379be3d..d7c1a8543f 100644
--- a/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp
+++ b/src/plugins/qmlprojectmanager/qmlprojectrunconfiguration.cpp
@@ -68,6 +68,8 @@ QmlProjectRunConfiguration::QmlProjectRunConfiguration(ProjectExplorer::Target *
QmlProjectRunConfiguration::QmlProjectRunConfiguration(ProjectExplorer::Target *parent,
QmlProjectRunConfiguration *source) :
ProjectExplorer::LocalApplicationRunConfiguration(parent, source),
+ m_currentFileFilename(source->m_currentFileFilename),
+ m_mainScriptFilename(source->m_mainScriptFilename),
m_scriptFile(source->m_scriptFile),
m_qmlViewerArgs(source->m_qmlViewerArgs),
m_isEnabled(source->m_isEnabled)