aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/python/pythonwizardpage.cpp
diff options
context:
space:
mode:
authorhjk <hjk@qt.io>2023-06-29 17:21:18 +0200
committerhjk <hjk@qt.io>2023-07-04 13:08:00 +0000
commitd0d1e1af1f148c820637ae3d79d9632659b13fbe (patch)
tree467cea1ae264ef570dee510ebd2b2961b24306b9 /src/plugins/python/pythonwizardpage.cpp
parent2cc4967451fabfad210935b35471ddd9d092d38e (diff)
A few more direct FilePathAspect value accesses
Task-number: QTCREATORBUG-29167 Change-Id: I8eba582303c16dddbdb5cea5bce43f048bac06b7 Reviewed-by: Christian Stenger <christian.stenger@qt.io>
Diffstat (limited to 'src/plugins/python/pythonwizardpage.cpp')
-rw-r--r--src/plugins/python/pythonwizardpage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/python/pythonwizardpage.cpp b/src/plugins/python/pythonwizardpage.cpp
index 4a8fb800c70..f74e5a90b72 100644
--- a/src/plugins/python/pythonwizardpage.cpp
+++ b/src/plugins/python/pythonwizardpage.cpp
@@ -132,7 +132,7 @@ void PythonWizardPage::initializePage()
const FilePath projectDir = FilePath::fromString(wiz->property("ProjectDirectory").toString());
m_createVenv.setValue(!projectDir.isEmpty());
- if (m_venvPath.filePath().isEmpty())
+ if (m_venvPath().isEmpty())
m_venvPath.setValue(projectDir.isEmpty() ? FilePath{} : projectDir / "venv");
updateInterpreters();
@@ -171,7 +171,7 @@ void PythonWizardPage::setupProject(const JsonWizard::GeneratorFiles &files)
}
}
};
- PythonSettings::createVirtualEnvironment(m_venvPath.filePath(),
+ PythonSettings::createVirtualEnvironment(m_venvPath(),
interpreter,
openProjectWithInterpreter,
project ? project->displayName()