Python: Simplify InterpreterDetailsWidget::toInterpreter()

The fromUserInput is already done as part of m_executable->filePath().

Change-Id: Ia623acd5a1be7763655cf9ad2fe5af32510b5060
Reviewed-by: David Schulz <david.schulz@qt.io>
This commit is contained in:
hjk
2021-08-12 14:29:15 +02:00
parent b52e30a33c
commit 906348ed50

View File

@@ -79,7 +79,7 @@ public:
Interpreter toInterpreter()
{
return {m_currentId, m_name->text(), FilePath::fromUserInput(m_executable->filePath().toString())};
return {m_currentId, m_name->text(), m_executable->filePath()};
}
QLineEdit *m_name = nullptr;
PathChooser *m_executable = nullptr;