aboutsummaryrefslogtreecommitdiffstats
path: root/src/core/model/GpgGenKeyInfo.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/core/model/GpgGenKeyInfo.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/core/model/GpgGenKeyInfo.cpp')
-rw-r--r--src/core/model/GpgGenKeyInfo.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/core/model/GpgGenKeyInfo.cpp b/src/core/model/GpgGenKeyInfo.cpp
index 1aaa4cea..180a7fab 100644
--- a/src/core/model/GpgGenKeyInfo.cpp
+++ b/src/core/model/GpgGenKeyInfo.cpp
@@ -216,8 +216,8 @@ GenKeyInfo::GenKeyInfo(bool m_is_sub_key) : subkey_(m_is_sub_key) {
}
auto GenKeyInfo::GetSupportedKeyAlgo()
- -> const std::vector<GenKeyInfo::KeyGenAlgo> & {
- static std::vector<GenKeyInfo::KeyGenAlgo> k_support_key_algo = {
+ -> const QContainer<GenKeyInfo::KeyGenAlgo> & {
+ static QContainer<GenKeyInfo::KeyGenAlgo> k_support_key_algo = {
{"RSA", "RSA", ""},
{"DSA", "DSA", ""},
};
@@ -260,8 +260,8 @@ auto GenKeyInfo::GetSupportedKeyAlgo()
}
auto GenKeyInfo::GetSupportedSubkeyAlgo()
- -> const std::vector<GenKeyInfo::KeyGenAlgo> & {
- static std::vector<GenKeyInfo::KeyGenAlgo> k_support_subkey_algo = {
+ -> const QContainer<GenKeyInfo::KeyGenAlgo> & {
+ static QContainer<GenKeyInfo::KeyGenAlgo> k_support_subkey_algo = {
{"RSA", "", "RSA"},
{"DSA", "", "DSA"},
{"ELG-E", "", "ELG"},