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

Improve gpg key infos

This commit is contained in:
2025-01-14 12:20:55 +01:00
parent 0e5df76787
commit 200964246e
5 changed files with 126 additions and 67 deletions

View File

@@ -58,7 +58,7 @@ bool Pass::importGPGKey(QUrl url)
QVariant Pass::getAllGPGKeys()
{
qInfo() << "Getting all key form gpg ";
return QVariant::fromValue(PassKeyModel::keysToPassKeyQObjectList(
Gpg::instance()->getAllKeys().second));
return QVariant::fromValue(PassKeyModel::keysToPassKey(
Gpg::instance()->getAllKeys().second)); // TODO Error handling
}