* @brief MainWindow::onUpdate do a git pull */
| 337 | * @brief MainWindow::onUpdate do a git pull |
| 338 | */ |
| 339 | void MainWindow::onUpdate(bool block) { |
| 340 | ui->statusBar->showMessage(tr("Updating password-store"), 2000); |
| 341 | if (block) { |
| 342 | QtPassSettings::getPass()->GitPull_b(); |
| 343 | } else { |
| 344 | QtPassSettings::getPass()->GitPull(); |
| 345 | } |
| 346 | } |
| 347 | |
| 348 | /** |
| 349 | * @brief MainWindow::onPush do a git push |
nothing calls this directly
no test coverage detected