From 0a7097f259cc06e928c4c5d89f1c887d41cbe2be Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Mon, 24 Oct 2016 12:57:27 +0300 Subject: [PATCH] Fix MSVC warning. --HG-- branch : develop --- src/libs/vtools/dialogs/tools/dialogdetail.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vtools/dialogs/tools/dialogdetail.cpp b/src/libs/vtools/dialogs/tools/dialogdetail.cpp index 1049cc744..189c4ea7d 100644 --- a/src/libs/vtools/dialogs/tools/dialogdetail.cpp +++ b/src/libs/vtools/dialogs/tools/dialogdetail.cpp @@ -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", " ");