diff options
author | Saturneric <[email protected]> | 2022-01-23 08:35:59 +0000 |
---|---|---|
committer | Saturneric <[email protected]> | 2022-01-23 08:35:59 +0000 |
commit | a7fb788cd0379bc3f49d5c0fdb0cbdf2b8401f7b (patch) | |
tree | 3299c2bcbddc0eb1fa0b9bb3ae002e5ac856180c /src/ui/main_window/MainWindowUI.cpp | |
parent | <refactor>(ui): tidy up codes and comments. (diff) | |
download | GpgFrontend-a7fb788cd0379bc3f49d5c0fdb0cbdf2b8401f7b.tar.gz GpgFrontend-a7fb788cd0379bc3f49d5c0fdb0cbdf2b8401f7b.zip |
<refactor>(ui): tidy up codes and comments.
1. tidy up widgets.
Diffstat (limited to 'src/ui/main_window/MainWindowUI.cpp')
-rw-r--r-- | src/ui/main_window/MainWindowUI.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ui/main_window/MainWindowUI.cpp b/src/ui/main_window/MainWindowUI.cpp index 8c093e6f..85e2ae08 100644 --- a/src/ui/main_window/MainWindowUI.cpp +++ b/src/ui/main_window/MainWindowUI.cpp @@ -490,7 +490,7 @@ void MainWindow::create_dock_windows() { key_list_dock_->setMinimumWidth(460); addDockWidget(Qt::RightDockWidgetArea, key_list_dock_); - m_key_list_->addListGroupTab( + m_key_list_->AddListGroupTab( _("Default"), KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::TYPE | KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage | KeyListColumn::Validity, @@ -498,7 +498,7 @@ void MainWindow::create_dock_windows() { return !(key.IsRevoked() || key.IsDisabled() || key.IsExpired()); }); - m_key_list_->addListGroupTab( + m_key_list_->AddListGroupTab( _("Only Public Key"), KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::TYPE | KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage | KeyListColumn::Validity, @@ -507,7 +507,7 @@ void MainWindow::create_dock_windows() { !(key.IsRevoked() || key.IsDisabled() || key.IsExpired()); }); - m_key_list_->addListGroupTab( + m_key_list_->AddListGroupTab( _("Has Private Key"), KeyListRow::SECRET_OR_PUBLIC_KEY, KeyListColumn::TYPE | KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage | KeyListColumn::Validity, @@ -516,7 +516,7 @@ void MainWindow::create_dock_windows() { !(key.IsRevoked() || key.IsDisabled() || key.IsExpired()); }); - m_key_list_->slotRefresh(); + m_key_list_->SlotRefresh(); key_list_dock_->setWidget(m_key_list_); view_menu_->addAction(key_list_dock_->toggleViewAction()); |