| 1524 | void MainWindow::endReencryptPath() { setUiElementsEnabled(true); } |
| 1525 | |
| 1526 | void MainWindow::updateGitButtonVisibility() { |
| 1527 | if (!QtPassSettings::isUseGit() || |
| 1528 | (QtPassSettings::getGitExecutable().isEmpty() && |
| 1529 | QtPassSettings::getPassExecutable().isEmpty())) { |
| 1530 | enableGitButtons(false); |
| 1531 | } else { |
| 1532 | enableGitButtons(true); |
| 1533 | } |
| 1534 | } |
| 1535 | |
| 1536 | void MainWindow::updateOtpButtonVisibility() { |
| 1537 | #if defined(Q_OS_WIN) || defined(__APPLE__) |
nothing calls this directly
no outgoing calls
no test coverage detected