| 1381 | } |
| 1382 | |
| 1383 | void MainWindow::updateCompileAndRunButtons() const |
| 1384 | { |
| 1385 | if (language == "Python") |
| 1386 | { |
| 1387 | ui->runOnly->show(); |
| 1388 | ui->compile->hide(); |
| 1389 | ui->run->hide(); |
| 1390 | } |
| 1391 | else |
| 1392 | { |
| 1393 | if (SettingsHelper::isShowCompileAndRunOnly()) |
| 1394 | { |
| 1395 | ui->run->show(); |
| 1396 | ui->runOnly->hide(); |
| 1397 | ui->compile->hide(); |
| 1398 | } |
| 1399 | else |
| 1400 | { |
| 1401 | ui->run->show(); |
| 1402 | ui->runOnly->show(); |
| 1403 | ui->compile->show(); |
| 1404 | } |
| 1405 | } |
| 1406 | } |
| 1407 | |
| 1408 | void MainWindow::hideEvent(QHideEvent *event) |
| 1409 | { |
nothing calls this directly
no outgoing calls
no test coverage detected