diff options
author | Saturneric <[email protected]> | 2021-12-02 21:35:16 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2021-12-02 21:35:16 +0000 |
commit | 1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc (patch) | |
tree | 58cabfa5c0065632b97823b6e6f068c04f1fa2e9 /src/ui/FileEncryptionDialog.cpp | |
parent | Fix and Modified. (diff) | |
download | GpgFrontend-1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc.tar.gz GpgFrontend-1e3f1d13a6fb1bfc8f24be83032df1e92350dbcc.zip |
Fixed.
1. Fixed known issue in File Operations.
Diffstat (limited to '')
-rwxr-xr-x | src/ui/FileEncryptionDialog.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/ui/FileEncryptionDialog.cpp b/src/ui/FileEncryptionDialog.cpp index cad0dcb1..3e1e9b9a 100755 --- a/src/ui/FileEncryptionDialog.cpp +++ b/src/ui/FileEncryptionDialog.cpp @@ -208,9 +208,7 @@ void FileEncryptionDialog::slotExecuteAction() { auto out_data = std::make_unique<ByteArray>(); auto key_ids = mKeyList->getChecked(); - auto keys = std::vector<GpgKey>(); - for (const auto& key_id : *key_ids) - keys.push_back(GpgKeyGetter::GetInstance().GetKey(key_id)); + auto keys = GpgKeyGetter::GetInstance().GetKeys(key_ids); if (mAction == Encrypt) { qDebug() << "Action Encrypt"; |