diff options
Diffstat (limited to 'src/ui/main_window/MainWindowUI.cpp')
-rw-r--r-- | src/ui/main_window/MainWindowUI.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/ui/main_window/MainWindowUI.cpp b/src/ui/main_window/MainWindowUI.cpp index c1cd5749..3d1e45b8 100644 --- a/src/ui/main_window/MainWindowUI.cpp +++ b/src/ui/main_window/MainWindowUI.cpp @@ -479,7 +479,7 @@ void MainWindow::createDockWindows() { KeyListColumn::TYPE | KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage | KeyListColumn::Validity, [](const GpgKey& key) -> bool { - return !(key.revoked() || key.disabled() || key.expired()); + return !(key.IsRevoked() || key.IsDisabled() || key.IsExpired()); }); mKeyList->addListGroupTab( @@ -487,8 +487,8 @@ void MainWindow::createDockWindows() { KeyListColumn::TYPE | KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage | KeyListColumn::Validity, [](const GpgKey& key) -> bool { - return !key.is_private_key() && - !(key.revoked() || key.disabled() || key.expired()); + return !key.IsPrivateKey() && + !(key.IsRevoked() || key.IsDisabled() || key.IsExpired()); }); mKeyList->addListGroupTab( @@ -496,8 +496,8 @@ void MainWindow::createDockWindows() { KeyListColumn::TYPE | KeyListColumn::NAME | KeyListColumn::EmailAddress | KeyListColumn::Usage | KeyListColumn::Validity, [](const GpgKey& key) -> bool { - return key.is_private_key() && - !(key.revoked() || key.disabled() || key.expired()); + return key.IsPrivateKey() && + !(key.IsRevoked() || key.IsDisabled() || key.IsExpired()); }); mKeyList->slotRefresh(); |