1
0
mirror of https://github.com/QRouland/UTPass.git synced 2026-01-10 19:36:57 +00:00

Fix delete gpg key

This commit is contained in:
2025-01-20 11:23:40 +01:00
parent c0757da47b
commit 0eb8920856
13 changed files with 74 additions and 56 deletions

View File

@@ -79,8 +79,6 @@ signals:
*/
void getAllGPGKeysSucceed(QVariant keys_info);
/**
* @brief Emitted when retrieving GPG keys fails.
* @param message The error message describing the failure.
@@ -144,10 +142,10 @@ public:
/**
* @brief Deletes the specified GPG key.
* @param key The GPG key to delete.
* @param key The PassKeyModel to delete.
* @return True if the operation was successful, false otherwise.
*/
Q_INVOKABLE bool deleteGPGKey(Key key);
Q_INVOKABLE bool deleteGPGKey(PassKeyModel* key);
/**
* @brief Imports a GPG key from the given URL.