GUI: fixed a bug with shortcut contexts
LAUNCHER: fixed a clean compile bug (removed bridge inclusion) EXE: removed unused include
This commit is contained in:
parent
5fec262354
commit
f6c1cae989
|
@ -1,6 +1,5 @@
|
|||
#include <stdio.h>
|
||||
#include <windows.h>
|
||||
#include "resource.h"
|
||||
#include "..\x64_dbg_bridge\bridgemain.h"
|
||||
|
||||
int APIENTRY WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd)
|
||||
|
|
|
@ -5,18 +5,24 @@ RegistersView::RegistersView(QWidget * parent) : QAbstractScrollArea(parent), mV
|
|||
{
|
||||
// precreate ContextMenu Actions
|
||||
wCM_Increment = new QAction(tr("Increment"),this);
|
||||
wCM_Increment->setShortcutContext(Qt::WidgetShortcut);
|
||||
this->addAction(wCM_Increment);
|
||||
wCM_Decrement = new QAction(tr("Decrement"),this);
|
||||
wCM_Decrement->setShortcutContext(Qt::WidgetShortcut);
|
||||
this->addAction(wCM_Decrement);
|
||||
wCM_Zero = new QAction(tr("Zero"),this);
|
||||
wCM_Zero->setShortcutContext(Qt::WidgetShortcut);
|
||||
this->addAction(wCM_Zero);
|
||||
wCM_SetToOne = new QAction(tr("Set to 1"),this);
|
||||
wCM_SetToOne->setShortcutContext(Qt::WidgetShortcut);
|
||||
this->addAction(wCM_SetToOne);
|
||||
wCM_Modify = new QAction(tr("Modify Value"),this);
|
||||
wCM_Modify->setShortcut(QKeySequence(Qt::Key_Enter));
|
||||
wCM_ToggleValue = new QAction(tr("Toggle"),this);
|
||||
wCM_ToggleValue->setShortcutContext(Qt::WidgetShortcut);
|
||||
this->addAction(wCM_ToggleValue);
|
||||
wCM_CopyToClipboard = new QAction(tr("Copy Value to Clipboard"),this);
|
||||
wCM_CopyToClipboard->setShortcutContext(Qt::WidgetShortcut);
|
||||
this->addAction(wCM_CopyToClipboard);
|
||||
wCM_FollowInDisassembly = new QAction(tr("Follow in Disassembler"),this);
|
||||
wCM_FollowInDump = new QAction(tr("Follow in Dump"),this);
|
||||
|
|
|
@ -51,7 +51,7 @@
|
|||
<SubSystem>Windows</SubSystem>
|
||||
<EnableCOMDATFolding>true</EnableCOMDATFolding>
|
||||
<OptimizeReferences>true</OptimizeReferences>
|
||||
<AdditionalDependencies>$(SolutionDir)bin\x32\x32_bridge.lib;kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<AdditionalDependencies>kernel32.lib;user32.lib;gdi32.lib;winspool.lib;comdlg32.lib;advapi32.lib;shell32.lib;ole32.lib;oleaut32.lib;uuid.lib;odbc32.lib;odbccp32.lib;%(AdditionalDependencies)</AdditionalDependencies>
|
||||
<ProgramDatabaseFile>$(TargetDir)$(TargetName).pdb</ProgramDatabaseFile>
|
||||
<AdditionalManifestDependencies>
|
||||
</AdditionalManifestDependencies>
|
||||
|
|
Loading…
Reference in New Issue