diff options
author | Xavier Valls <xaviervallspla@gmail.com> | 2021-05-31 17:40:20 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-05-31 17:40:20 +0300 |
commit | 6acd0b25aee3f3197fe62f09935f613974e964ec (patch) | |
tree | 2a7ef5946cf2e871bc751bb56204156458396e67 /src/gui/DatabaseWidget.h | |
parent | 1f50ac604539a1df011fe5980b3c55cc8991c4bd (diff) |
Add a context menu entry to delete entries from health check reports (#6537)
* Closes #4986 - Allow deleting entries from the reports view
* Closes #4533 - Exclude & delete multiple entries in a report
* Also allow deleting selected entries using the delete key
* Introduce GuiTools namespace to collect shared GUI prompts and actions
* Add functionality to HIBP report to mirror health check report
Co-authored-by: Jonathan White <support@dmapps.us>
Diffstat (limited to 'src/gui/DatabaseWidget.h')
-rw-r--r-- | src/gui/DatabaseWidget.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/DatabaseWidget.h b/src/gui/DatabaseWidget.h index a8c08d6a2..dc5dd6e42 100644 --- a/src/gui/DatabaseWidget.h +++ b/src/gui/DatabaseWidget.h @@ -74,7 +74,7 @@ public: explicit DatabaseWidget(QSharedPointer<Database> db, QWidget* parent = nullptr); explicit DatabaseWidget(const QString& filePath, QWidget* parent = nullptr); - ~DatabaseWidget(); + ~DatabaseWidget() override; void setFocus(Qt::FocusReason reason); @@ -255,7 +255,6 @@ private: void setClipboardTextAndMinimize(const QString& text); void processAutoOpen(); void openDatabaseFromEntry(const Entry* entry, bool inBackground = true); - bool confirmDeleteEntries(QList<Entry*> entries, bool permanent); void performIconDownloads(const QList<Entry*>& entries, bool force = false); bool performSave(QString& errorMessage, const QString& fileName = {}); |