diff --git a/avogadro/molequeue/inputgenerator.cpp b/avogadro/molequeue/inputgenerator.cpp index 448da3115f..8f01f87317 100644 --- a/avogadro/molequeue/inputgenerator.cpp +++ b/avogadro/molequeue/inputgenerator.cpp @@ -118,7 +118,7 @@ void InputGenerator::setScriptFilePath(const QString& scriptFile) void InputGenerator::reset() { - m_interpreter->setDefaultPythonInterpretor(); + m_interpreter->setDefaultPythonInterpreter(); m_interpreter->setScriptFilePath(QString()); m_moleculeExtension = "Unknown"; m_displayName = QString(); diff --git a/avogadro/molequeue/inputgenerator.h b/avogadro/molequeue/inputgenerator.h index 2b4a8d2f30..94e808c31f 100644 --- a/avogadro/molequeue/inputgenerator.h +++ b/avogadro/molequeue/inputgenerator.h @@ -592,7 +592,7 @@ public slots: private: QtGui::PythonScript* m_interpreter; - void setDefaultPythonInterpretor(); + void setDefaultPythonInterpreter(); QByteArray execute(const QStringList& args, const QByteArray& scriptStdin = QByteArray()) const; bool parseJson(const QByteArray& json, QJsonDocument& doc) const; diff --git a/avogadro/qtgui/interfacescript.cpp b/avogadro/qtgui/interfacescript.cpp index 88195882fd..dfce9ab7ac 100644 --- a/avogadro/qtgui/interfacescript.cpp +++ b/avogadro/qtgui/interfacescript.cpp @@ -136,7 +136,7 @@ void InterfaceScript::setScriptFilePath(const QString& scriptFile) void InterfaceScript::reset() { - m_interpreter->setDefaultPythonInterpretor(); + m_interpreter->setDefaultPythonInterpreter(); m_interpreter->setScriptFilePath(QString()); m_moleculeExtension = QLatin1String("Unknown"); m_displayName = QString(); diff --git a/avogadro/qtgui/interfacescript.h b/avogadro/qtgui/interfacescript.h index 2690d8b122..63fc384896 100644 --- a/avogadro/qtgui/interfacescript.h +++ b/avogadro/qtgui/interfacescript.h @@ -625,7 +625,7 @@ public slots: private: QtGui::PythonScript* m_interpreter; - void setDefaultPythonInterpretor(); + void setDefaultPythonInterpreter(); QByteArray execute(const QStringList& args, const QByteArray& scriptStdin = QByteArray()) const; bool parseJson(const QByteArray& json, QJsonDocument& doc) const; diff --git a/avogadro/qtgui/pythonscript.cpp b/avogadro/qtgui/pythonscript.cpp index 56896fbdc2..2a8393ec10 100644 --- a/avogadro/qtgui/pythonscript.cpp +++ b/avogadro/qtgui/pythonscript.cpp @@ -20,14 +20,14 @@ PythonScript::PythonScript(const QString& scriptFilePath_, QObject* parent_) : QObject(parent_), m_debug(!qgetenv("AVO_PYTHON_SCRIPT_DEBUG").isEmpty()), m_scriptFilePath(scriptFilePath_), m_process(nullptr) { - setDefaultPythonInterpretor(); + setDefaultPythonInterpreter(); } PythonScript::PythonScript(QObject* parent_) : QObject(parent_), m_debug(!qgetenv("AVO_PYTHON_SCRIPT_DEBUG").isEmpty()), m_process(nullptr) { - setDefaultPythonInterpretor(); + setDefaultPythonInterpreter(); } PythonScript::~PythonScript() {} @@ -37,7 +37,7 @@ void PythonScript::setScriptFilePath(const QString& scriptFile) m_scriptFilePath = scriptFile; } -void PythonScript::setDefaultPythonInterpretor() +void PythonScript::setDefaultPythonInterpreter() { if (m_pythonInterpreter.isEmpty()) { m_pythonInterpreter = diff --git a/avogadro/qtgui/pythonscript.h b/avogadro/qtgui/pythonscript.h index 5e50ed990c..8650003705 100644 --- a/avogadro/qtgui/pythonscript.h +++ b/avogadro/qtgui/pythonscript.h @@ -77,7 +77,7 @@ class AVOGADROQTGUI_EXPORT PythonScript : public QObject * - The "interpreters/python" QSettings value * - The path specified in avogadropython.h. */ - void setDefaultPythonInterpretor(); + void setDefaultPythonInterpreter(); /** * Start a new process to execute: