mirror of
https://github.com/mumble-voip/mumble.git
synced 2025-10-26 11:19:16 +00:00
Explicitly set DirectInput device pointer to NULL to ease debugging
This commit is contained in:
parent
866214df0e
commit
3b234512f9
@ -176,6 +176,7 @@ BOOL GlobalShortcutWin::EnumDevicesCB(LPCDIDEVICEINSTANCE pdidi, LPVOID pContext
|
||||
QString sname = QString::fromUtf16(reinterpret_cast<const ushort *>(pdidi->tszInstanceName));
|
||||
|
||||
InputDevice *id = new InputDevice;
|
||||
id->pDID = NULL;
|
||||
id->name = name;
|
||||
id->guid = pdidi->guidInstance;
|
||||
id->vguid = QVariant(QUuid(id->guid).toString());
|
||||
|
||||
Loading…
Reference in New Issue
Block a user