Skip to content

Commit

Permalink
Merge pull request #1031 from FashionFreedom/issue-1030-revert-fx-war…
Browse files Browse the repository at this point in the history
…nings

fix: revert fx warning dialogs
  • Loading branch information
csett86 authored Oct 8, 2023
2 parents 350a5b3 + 174b182 commit 4e5ba16
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/libs/vpatterndb/vformula.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ void VFormula::Eval()
value = tr("Error");
_error = true;
dValue = 0;
qWarning() << "\nMath parser error:\n"
qDebug() << "\nMath parser error:\n"
<< "--------------------------------------\n"
<< "Message: " << error.GetMsg() << "\n"
<< "Expression: " << error.GetExpr() << "\n"
Expand Down
2 changes: 1 addition & 1 deletion src/libs/vpatterndb/vtranslatevars.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -980,7 +980,7 @@ QString VTranslateVars::FormulaToUser(const QString &formula, bool osSeparator)
}
catch (qmu::QmuParserError &error)
{
qWarning() << "\nMath parser error:\n"
qDebug() << "\nMath parser error:\n"
<< "--------------------------------------\n"
<< "Message: " << error.GetMsg() << "\n"
<< "Expression: " << error.GetExpr() << "\n"
Expand Down
2 changes: 1 addition & 1 deletion src/libs/vtools/dialogs/tools/dialogtool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -870,7 +870,7 @@ qreal DialogTool::Eval(const QString &text, bool &flag, QLabel *label, const QSt
ChangeColor(labelEditFormula, Qt::red);
emit ToolTip(tr("Parser error: %1").arg(error.GetMsg()));
label->setToolTip(tr("Parser error: %1").arg(error.GetMsg()));
qWarning() << "\nMath parser error:\n"
qDebug() << "\nMath parser error:\n"
<< "--------------------------------------\n"
<< "Message: " << error.GetMsg() << "\n"
<< "Expression: " << error.GetExpr() << "\n"
Expand Down
2 changes: 1 addition & 1 deletion src/libs/vtools/tools/vabstracttool.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ qreal VAbstractTool::CheckFormula(const quint32 &toolId, QString &formula, VCont
}
catch (qmu::QmuParserError &error)
{
qWarning() << "\nMath parser error:\n"
qDebug() << "\nMath parser error:\n"
<< "--------------------------------------\n"
<< "Message: " << error.GetMsg() << "\n"
<< "Expression: " << error.GetExpr() << "\n"
Expand Down
2 changes: 1 addition & 1 deletion src/libs/vtools/visualization/visualization.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ qreal Visualization::FindVal(const QString &expression,
catch (qmu::QmuParserError &error)
{
val = 0;
qWarning() << "\nMath parser error:\n"
qDebug() << "\nMath parser error:\n"
<< "--------------------------------------\n"
<< "Message: " << error.GetMsg() << "\n"
<< "Expression: " << error.GetExpr() << "\n"
Expand Down

0 comments on commit 4e5ba16

Please sign in to comment.