diff options
Diffstat (limited to 'src/plugins/projectexplorer/project.cpp')
-rw-r--r-- | src/plugins/projectexplorer/project.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/projectexplorer/project.cpp b/src/plugins/projectexplorer/project.cpp index afb7eca08c..c5667920a5 100644 --- a/src/plugins/projectexplorer/project.cpp +++ b/src/plugins/projectexplorer/project.cpp @@ -1056,12 +1056,12 @@ bool Project::isEditModePreferred() const #if defined(WITH_TESTS) -static FilePath constructTestPath(const char *basePath) +static FilePath constructTestPath(const QString &basePath) { FilePath drive; if (HostOsInfo::isWindowsHost()) drive = "C:"; - return drive + QLatin1String(basePath); + return drive.stringAppended(basePath); } const FilePath TEST_PROJECT_PATH = constructTestPath("/tmp/foobar/baz.project"); |