From 9b79a166a22e2774f864a38572f69b7b6fc6266e Mon Sep 17 00:00:00 2001 From: Anne Jan Brouwer Date: Fri, 10 Jun 2016 19:19:44 +0200 Subject: [PATCH] Placeholder related: #161 --- mainwindow.cpp | 13 +++++++++---- mainwindow.h | 1 + 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/mainwindow.cpp b/mainwindow.cpp index b3b0d6c4b..b13a120fa 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 d23628498..382e839c7 100644 --- a/mainwindow.h +++ b/mainwindow.h @@ -187,6 +187,7 @@ private slots: void clearTemplateWidgets(); void setClippedPassword(const QString &pass); const QString &getClippedPassword(); + void reencryptPath(QString dir); }; #endif // MAINWINDOW_H_