diff options
author | Anne Jan Brouwer <brouwer@annejan.com> | 2016-06-10 19:19:44 +0200 |
---|---|---|
committer | Anne Jan Brouwer <brouwer@annejan.com> | 2016-06-10 19:19:44 +0200 |
commit | 9b79a166a22e2774f864a38572f69b7b6fc6266e (patch) | |
tree | da6639f621272fca47cfc0d6db91e823ec6f2a68 | |
parent | 7e09ea9fb44efc285ba9c67188bab7b1ff5379d3 (diff) |
Placeholder related: #161
-rw-r--r-- | mainwindow.cpp | 13 | ||||
-rw-r--r-- | mainwindow.h | 1 |
2 files changed, 10 insertions, 4 deletions
diff --git a/mainwindow.cpp b/mainwindow.cpp index b3b0d6c4..b13a120f 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1431,10 +1431,7 @@ void MainWindow::on_usersButton_clicked() { tr("None of the selected keys have a secret key available.\n" "You will not be able to decrypt any newly added passwords!")); } - QMessageBox::information( - this, tr("Recursing not yet implemented!"), - tr("This is an issue that only happens when you are not using pass.\n" - "Some people might not correctly be encrypted for!")); + if (!useWebDav && useGit && !gitExecutable.isEmpty()) { if (addFile) executeWrapper(gitExecutable, "add \"" + gpgIdFile + '"'); @@ -1884,3 +1881,11 @@ void MainWindow::setClippedPassword(const QString &pass) { } const QString &MainWindow::getClippedPassword() { return clippedPass; } + +void MainWindow::reencryptPath(QString dir) { + QMessageBox::information( + this, tr("Recursing not yet implemented!"), + tr("This is an issue that only happens when you are not using pass.\n" + "Some people might not correctly be encrypted for %1!").arg(dir)); +} + diff --git a/mainwindow.h b/mainwindow.h index d2362849..382e839c 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -187,6 +187,7 @@ private: void clearTemplateWidgets(); void setClippedPassword(const QString &pass); const QString &getClippedPassword(); + void reencryptPath(QString dir); }; #endif // MAINWINDOW_H_ |