Commit 31929c75 authored by Victor Yacovlev's avatar Victor Yacovlev

MacMini build fix

parent 7d30a5b9
......@@ -635,7 +635,7 @@ void MainWindowTask::closeEvent(QCloseEvent *event)
QMessageBox::StandardButton ans;
ans = QMessageBox::question(this, trUtf8("Курсы"), trUtf8("Вы хотите сохранить работу?"),
QMessageBox::Yes | QMessageBox::No | QMessageBox::Cancel, QMessageBox::Yes);
if ((ans == QMessageBox::No))
if (ans == QMessageBox::No)
{
event->accept();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment