aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/dialog/SignersPicker.cpp
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2024-12-13 15:22:33 +0000
committersaturneric <[email protected]>2024-12-13 15:22:33 +0000
commitf7a00c58d2824f49ecaafc0152fc0b8213772e46 (patch)
treed012e5fac4ff9f48cd10381a0b79de0294d28d18 /src/ui/dialog/SignersPicker.cpp
parentdoc: update SECURITY.md (diff)
downloadGpgFrontend-f7a00c58d2824f49ecaafc0152fc0b8213772e46.tar.gz
GpgFrontend-f7a00c58d2824f49ecaafc0152fc0b8213772e46.zip
refactor: using qt containers instead of std containers
Diffstat (limited to 'src/ui/dialog/SignersPicker.cpp')
-rw-r--r--src/ui/dialog/SignersPicker.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/ui/dialog/SignersPicker.cpp b/src/ui/dialog/SignersPicker.cpp
index dcd23a6b..21996f5b 100644
--- a/src/ui/dialog/SignersPicker.cpp
+++ b/src/ui/dialog/SignersPicker.cpp
@@ -78,15 +78,15 @@ SignersPicker::SignersPicker(int channel, QWidget* parent)
this->show();
}
-auto SignersPicker::GetCheckedSigners() -> GpgFrontend::KeyIdArgsListPtr {
+auto SignersPicker::GetCheckedSigners() -> GpgFrontend::KeyIdArgsList {
return key_list_->GetCheckedPrivateKey();
}
-auto SignersPicker::GetCheckedSignerKeyIds() -> QStringList {
+auto SignersPicker::GetCheckedSignerKeyIds() -> GpgFrontend::KeyIdArgsList {
auto priv_keys = key_list_->GetCheckedPrivateKey();
QStringList r;
- for (const auto& priv_key : *priv_keys) {
+ for (const auto& priv_key : priv_keys) {
r.append(priv_key);
}
return r;