1
0
Fork 0

Clarify some menu options

This commit is contained in:
Duncan Ogilvie 2022-05-14 14:38:01 +02:00
parent 89963dfc1a
commit a031e037a4
5 changed files with 7 additions and 9 deletions

View File

@ -492,7 +492,7 @@
<normaloff>:/icons/images/arrow-step-into.png</normaloff>:/icons/images/arrow-step-into.png</iconset>
</property>
<property name="text">
<string>Step into (pass exceptions)</string>
<string>Step into (pass all exceptions)</string>
</property>
<property name="statusTip">
<string>Execute a single instruction, pass exceptions to the debuggee.</string>
@ -504,7 +504,7 @@
<normaloff>:/icons/images/arrow-step-over.png</normaloff>:/icons/images/arrow-step-over.png</iconset>
</property>
<property name="text">
<string>Step over (pass exceptions)</string>
<string>Step over (pass all exceptions)</string>
</property>
</action>
<action name="actioneRun">
@ -513,7 +513,7 @@
<normaloff>:/icons/images/arrow-run.png</normaloff>:/icons/images/arrow-run.png</iconset>
</property>
<property name="text">
<string>Run (pass exceptions)</string>
<string>Run (pass all exceptions)</string>
</property>
<property name="statusTip">
<string>Run the debuggee and pass all exceptions to the debuggee without pausing.</string>
@ -525,7 +525,7 @@
<normaloff>:/icons/images/arrow-step-rtr.png</normaloff>:/icons/images/arrow-step-rtr.png</iconset>
</property>
<property name="text">
<string>Execute till return (pass exceptions)</string>
<string>Execute till return (pass all exceptions)</string>
</property>
</action>
<action name="actionScript">

View File

@ -168,7 +168,7 @@ void CommonActions::build(MenuBuilder* builder, int actions)
}
if(actions & ActionNewOrigin)
{
builder->addAction(makeShortcutAction(DIcon("neworigin.png"), tr("Set New Origin Here"), std::bind(&CommonActions::setNewOriginHereActionSlot, this), "ActionSetNewOriginHere"));
builder->addAction(makeShortcutAction(DIcon("neworigin.png"), tr("Set %1 Here").arg(ArchValue("EIP", "RIP")), std::bind(&CommonActions::setNewOriginHereActionSlot, this), "ActionSetNewOriginHere"));
}
if(actions & ActionNewThread)
{

View File

@ -38,7 +38,7 @@ public:
ActionFindrefMore = 1 << 22, // Find references (submenu)
ActionXref = 1 << 23, // Xref
ActionXrefMore = 1 << 24, // Xref (submenu)
ActionNewOrigin = 1 << 25, // Set New Origin Here
ActionNewOrigin = 1 << 25, // Set EIP/RIP Here
ActionNewThread = 1 << 26, // Create New Thread Here
ActionWatch = 1 << 27 // Watch DWORD
} CommonActionsList;

View File

@ -504,7 +504,7 @@ Configuration::Configuration() : QObject(), noMoreMsgbox(false)
defaultShortcuts.insert("ActionDeleteLoop", Shortcut({tr("Actions"), tr("Delete Loop")}, "Ctrl+Shift+L"));
defaultShortcuts.insert("ActionToggleArgument", Shortcut({tr("Actions"), tr("Toggle Argument")}, "Shift+A"));
defaultShortcuts.insert("ActionAssemble", Shortcut({tr("Actions"), tr("Assemble")}, "Space"));
defaultShortcuts.insert("ActionSetNewOriginHere", Shortcut({tr("Actions"), tr("Set New Origin Here")}, "Ctrl+*"));
defaultShortcuts.insert("ActionSetNewOriginHere", Shortcut({tr("Actions"), tr("Set %1 Here").arg(ArchValue("EIP", "RIP"))}, "Ctrl+*"));
defaultShortcuts.insert("ActionGotoOrigin", Shortcut({tr("Actions"), tr("Goto Origin")}, "*"));
defaultShortcuts.insert("ActionGotoCBP", Shortcut({tr("Actions"), tr("Goto EBP/RBP")}));
defaultShortcuts.insert("ActionGotoPrevious", Shortcut({tr("Actions"), tr("Goto Previous")}, "-"));

View File

@ -75,8 +75,6 @@ static bool isValidLocale(const QString & locale)
int main(int argc, char* argv[])
{
qputenv("QT_AUTO_SCREEN_SCALE_FACTOR", "1");
QGuiApplication::setAttribute(Qt::AA_EnableHighDpiScaling);
MyApplication application(argc, argv);
MainWindow::loadSelectedStyle(true);
#if QT_VERSION < QT_VERSION_CHECK(5,0,0)