From 0e764a45f730a8b665b3bebd145a68082e9024fe Mon Sep 17 00:00:00 2001 From: askmeaboutloom Date: Fri, 18 Aug 2023 22:09:44 +0200 Subject: [PATCH] Make developer tools shortcuttable They weren't yet, unlike the other main window actions. Sorta relates to #1136. --- src/desktop/mainwindow.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/desktop/mainwindow.cpp b/src/desktop/mainwindow.cpp index 26cffce93f..b76f66192e 100644 --- a/src/desktop/mainwindow.cpp +++ b/src/desktop/mainwindow.cpp @@ -3586,13 +3586,13 @@ void MainWindow::setupActions() QMenu *toolshortcuts = toolsmenu->addMenu(tr("&Shortcuts")); QMenu *devtoolsmenu = toolsmenu->addMenu(tr("Developer Tools")); - QAction *tableteventlog = makeAction("tableteventlog"); - QAction *profile = makeAction("profile"); - QAction *artificialLag = makeAction("artificiallag", tr("Set Artificial Lag...")); - QAction *artificialDisconnect = makeAction("artificialdisconnect", tr("Artifical Disconnect...")); - QAction *debugDump = makeAction("debugdump", tr("Record Debug Dumps")).checkable(); - QAction *openDebugDump = makeAction("opendebugdump", tr("Open Debug Dump...")); - QAction *showNetStats = makeAction("shownetstats", tr("Statistics…")); + QAction *tableteventlog = makeAction("tableteventlog", tr("Tablet Event Log...")).noDefaultShortcut(); + QAction *profile = makeAction("profile", tr("Profile...")).noDefaultShortcut(); + QAction *artificialLag = makeAction("artificiallag", tr("Set Artificial Lag...")).noDefaultShortcut(); + QAction *artificialDisconnect = makeAction("artificialdisconnect", tr("Artifical Disconnect...")).noDefaultShortcut(); + QAction *debugDump = makeAction("debugdump", tr("Record Debug Dumps")).checkable().noDefaultShortcut(); + QAction *openDebugDump = makeAction("opendebugdump", tr("Open Debug Dump...")).noDefaultShortcut(); + QAction *showNetStats = makeAction("shownetstats", tr("Statistics…")).noDefaultShortcut(); devtoolsmenu->addAction(tableteventlog); devtoolsmenu->addAction(profile); devtoolsmenu->addAction(artificialLag);