forked from qt-creator/qt-creator
Use a few more explicit FilePathAspects
Change-Id: I97431306754af3ea7a803021db7b876c31abc940 Reviewed-by: Alessandro Portale <alessandro.portale@qt.io> Reviewed-by: <github-actions-qt-creator@cristianadam.eu>
This commit is contained in:
@@ -102,7 +102,6 @@ PythonWizardPage::PythonWizardPage(const QList<QPair<QString, QVariant>> &pySide
|
||||
m_createVenv.setLabelText(Tr::tr("Create new Virtual Environment"));
|
||||
|
||||
m_venvPath.setLabelText(Tr::tr("Path to virtual environment"));
|
||||
m_venvPath.setDisplayStyle(StringAspect::PathChooserDisplay);
|
||||
m_venvPath.setEnabler(&m_createVenv);
|
||||
m_venvPath.setExpectedKind(PathChooser::Directory);
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@ private:
|
||||
ProjectExplorer::InterpreterAspect m_interpreter;
|
||||
Utils::SelectionAspect m_pySideVersion;
|
||||
Utils::BoolAspect m_createVenv;
|
||||
Utils::StringAspect m_venvPath;
|
||||
Utils::FilePathAspect m_venvPath;
|
||||
Utils::InfoLabel *m_stateLabel = nullptr;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user