aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorsaturneric <[email protected]>2026-09-20 22:27:15 +0200
committersaturneric <[email protected]>2026-09-20 22:27:15 +0200
commit94487610112e512db08259892e0f1f6aa2b62ff9 (patch)
tree76b2efaa0a28425f869df69d063c90cf5785fedb /src
parentfeat(pgp): add OpenPGP structure inspector (diff)
downloadmodules-94487610112e512db08259892e0f1f6aa2b62ff9.tar.gz
modules-94487610112e512db08259892e0f1f6aa2b62ff9.zip
fix(pgp-inspect): clarify structure inspector action text
- rename the menu action to identify the OpenPGP structure inspector - simplify the tooltip by removing the decryption detail
Diffstat (limited to 'src')
-rw-r--r--src/m_pgp_inspect/PGPInspectModule.cpp11
1 files changed, 5 insertions, 6 deletions
diff --git a/src/m_pgp_inspect/PGPInspectModule.cpp b/src/m_pgp_inspect/PGPInspectModule.cpp
index 22dcccd..2130cda 100644
--- a/src/m_pgp_inspect/PGPInspectModule.cpp
+++ b/src/m_pgp_inspect/PGPInspectModule.cpp
@@ -81,13 +81,12 @@ auto OnMainWindowMenuMounted(const GFEvent &event) -> GFEventResult {
QMetaObject::invokeMethod(
QApplication::instance(),
[=]() -> void {
- auto *action = new QAction(
- QCoreApplication::translate("GTrC", "Inspect OpenPGP Structure"),
- nullptr);
+ auto *action =
+ new QAction(QCoreApplication::translate(
+ "GTrC", "Open OpenPGP Structure Inspector"),
+ nullptr);
action->setToolTip(QCoreApplication::translate(
- "GTrC",
- "Show the packet structure of the current tab, without "
- "decrypting it"));
+ "GTrC", "Show the packet structure of the current tab"));
QObject::connect(action, &QAction::triggered, main_window,
[=]() { RaiseInspectDialog(main_window); });
advance_menu->addAction(action);