Skip to content

Commit

Permalink
Fix not declared MOD_NOREPEAT (Skycoder42/QHotkey/#36) (#37)
Browse files Browse the repository at this point in the history
Fix not declared MOD_NOREPEAT (#36)
  • Loading branch information
pbek committed May 23, 2020
1 parent 7de281c commit 0352904
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions QHotkey/qhotkey_win.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@

#define HKEY_ID(nativeShortcut) (((nativeShortcut.key ^ (nativeShortcut.modifier << 8)) & 0x0FFF) | 0x7000)

#if !defined(MOD_NOREPEAT)
#define MOD_NOREPEAT 0x4000
#endif

class QHotkeyPrivateWin : public QHotkeyPrivate
{
public:
Expand Down

0 comments on commit 0352904

Please sign in to comment.