aboutsummaryrefslogtreecommitdiffstats
path: root/src/ui/keygen/SubkeyGenerateDialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/ui/keygen/SubkeyGenerateDialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/keygen/SubkeyGenerateDialog.cpp b/src/ui/keygen/SubkeyGenerateDialog.cpp
index 9bac076e..337b545f 100644
--- a/src/ui/keygen/SubkeyGenerateDialog.cpp
+++ b/src/ui/keygen/SubkeyGenerateDialog.cpp
@@ -99,10 +99,10 @@ QGroupBox* SubkeyGenerateDialog::create_basic_info_group_box() {
keySizeSpinBox = new QSpinBox(this);
keyTypeComboBox = new QComboBox(this);
- for (auto& algo : GenKeyInfo::SupportedSubkeyAlgo) {
+ for (auto& algo : GenKeyInfo::getSupportedKeyAlgo()) {
keyTypeComboBox->addItem(QString::fromStdString(algo));
}
- if (!GenKeyInfo::SupportedKeyAlgo.empty()) {
+ if (!GenKeyInfo::getSupportedKeyAlgo().empty()) {
keyTypeComboBox->setCurrentIndex(0);
}