MCPcopy Create free account
hub / github.com/IJHack/QtPass / updateGitButtonVisibility

Method updateGitButtonVisibility

src/mainwindow.cpp:1526–1534  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1524void MainWindow::endReencryptPath() { setUiElementsEnabled(true); }
1525
1526void 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
1536void MainWindow::updateOtpButtonVisibility() {
1537#if defined(Q_OS_WIN) || defined(__APPLE__)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected