forked from qt-creator/qt-creator
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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user