diff options
author | hjk <hjk@qt.io> | 2021-09-13 12:55:01 +0200 |
---|---|---|
committer | hjk <hjk@qt.io> | 2021-09-14 03:28:48 +0000 |
commit | cb4f75426d49fed6d9d134d0688aeaf70f71e52d (patch) | |
tree | a0dc544d376e992bf19594d59a4ea4022fd53684 /src/plugins/projectexplorer/deployconfiguration.cpp | |
parent | e65827c04a6b1feed619a674bf0c9a116994c7e5 (diff) | |
download | qt-creator-cb4f75426d49fed6d9d134d0688aeaf70f71e52d.tar.gz |
ProjectExplorer: Remove one constructor overload of DeployableFile
Change-Id: I87e444349129e9370b5fec505444723d36e21448
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/plugins/projectexplorer/deployconfiguration.cpp')
-rw-r--r-- | src/plugins/projectexplorer/deployconfiguration.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/projectexplorer/deployconfiguration.cpp b/src/plugins/projectexplorer/deployconfiguration.cpp index d4187da115..df10a32310 100644 --- a/src/plugins/projectexplorer/deployconfiguration.cpp +++ b/src/plugins/projectexplorer/deployconfiguration.cpp @@ -35,6 +35,8 @@ #include <utils/algorithm.h> +using namespace Utils; + namespace ProjectExplorer { const char BUILD_STEP_LIST_COUNT[] = "ProjectExplorer.BuildConfiguration.BuildStepListCount"; @@ -107,7 +109,7 @@ bool DeployConfiguration::fromMap(const QVariantMap &map) m_usesCustomDeploymentData = map.value(USES_DEPLOYMENT_DATA, false).toBool(); const QVariantMap deployData = map.value(DEPLOYMENT_DATA).toMap(); for (auto it = deployData.begin(); it != deployData.end(); ++it) - m_customDeploymentData.addFile(it.key(), it.value().toString()); + m_customDeploymentData.addFile(FilePath::fromString(it.key()), it.value().toString()); return true; } |