fixed compile error with MINGW

This commit is contained in:
jkriege2 2018-12-13 22:42:58 +01:00
parent 21489d55f2
commit c935df7923
2 changed files with 3 additions and 2 deletions

View File

@ -446,7 +446,8 @@ JKQTmathText::MTinstruction1Node::MTinstruction1Node(JKQTmathText* parent, QStri
this->child=child;
this->parameters=parameters;
if (!setupMTenvironment()) {
JKQTmathText::MTenvironment ev;
if (!setupMTenvironment(ev)) {
parent->error_list.append(tr("unknown instruction '%1' found!").arg(name));
}
}

View File

@ -389,7 +389,7 @@ class LIB_EXPORT JKQTmathText : public QObject {
JKQTPGET_MACRO(QString, name)
JKQTPGET_MACRO(QStringList, parameters)
protected:
bool setupMTenvironment(JKQTmathText::MTenvironment &ev = JKQTmathText::MTenvironment());
bool setupMTenvironment(JKQTmathText::MTenvironment &ev);
MTnode* child;
QString name;