diff --git a/src/lib_gui/qt/project_wizard/content/QtProjectWizardContentSelect.cpp b/src/lib_gui/qt/project_wizard/content/QtProjectWizardContentSelect.cpp index 02b6eb0e..7b119896 100644 --- a/src/lib_gui/qt/project_wizard/content/QtProjectWizardContentSelect.cpp +++ b/src/lib_gui/qt/project_wizard/content/QtProjectWizardContentSelect.cpp @@ -24,12 +24,13 @@ void QtProjectWizardContentSelect::populate(QGridLayout* layout, int& row) { std::string pythonIndexerVersion = " "; { - std::string str = utility::executeProcess( + std::string str = + utility::executeProcess( ResourcePaths::getPythonPath().wstr().append(L"SourcetrailPythonIndexer"), - std::vector{L"--version"}, - FilePath(), - 5000) - .second; + std::vector {L"--version"}, + FilePath(), + 5000) + .second; std::regex regex( "v\\d*\\.db\\d*\\.p\\d*"); // "\\d" matches any digit; "\\." matches the "." character std::smatch matches; @@ -124,17 +125,9 @@ void QtProjectWizardContentSelect::populate(QGridLayout* layout, int& row) m_sourceGroupTypeDescriptions[SOURCE_GROUP_PYTHON_EMPTY] = "

Create a new Source Group by defining which Python files will be indexed. This Source " "Group type uses the " - "SourcetrailPythonIndexer " + - pythonIndexerVersion + - "in the " - "background.

" - "

Note: Python support is still in its beta phase. If you want to update " - "the version of the SourcetrailPythonIndexer which is used " - "by Sourcetrail, download the latest release package for your operating system from the " - "linked repository and completely replace the contents of your " - "\"Sourcetrail/data/python\" folder with the contents of the downloaded package.

"; + pythonIndexerVersion + "in the background.

"; #endif // BUILD_PYTHON_LANGUAGE_PACKAGE m_sourceGroupTypeDescriptions[SOURCE_GROUP_CUSTOM_COMMAND] = "Create a new Source Group executing a custom command on each source file. "