Fix MSVC warning.

--HG--
branch : develop
This commit is contained in:
Roman Telezhynskyi 2016-10-24 12:57:27 +03:00
parent 1aa896eff1
commit 0a7097f259

View file

@ -1002,7 +1002,7 @@ void DialogDetail::EditFormula()
DialogEditWrongFormula dlg(data, NULL_ID, this);
dlg.SetFormula(pleFormula->toPlainText());
dlg.setCheckZero(bCheckZero);
if (dlg.exec() == true)
if (dlg.exec() == QDialog::Accepted)
{
QString qsFormula = dlg.GetFormula();
qsFormula.replace("\n", " ");