MCPcopy Create free account
hub / github.com/KangLin/RabbitRemoteControl / UnRegisterKeyboard

Method UnRegisterKeyboard

Src/Hook.cpp:64–78  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

62}
63
64int CHook::UnRegisterKeyboard()
65{
66 if(m_bScript) {
67#if defined(Q_OS_WIN32)
68 QDesktopServices::openUrl(m_pParameterPlugin->GetRestoreDesktopShortcutsScript());
69#else
70 RunCommand(m_pParameterPlugin->GetRestoreDesktopShortcutsScript());
71#endif
72 } else {
73 OnRestoreDesktopShortcuts();
74 }
75
76 OnUnRegisterKeyboard();
77 return 0;
78}
79
80int CHook::OnRegisterKeyboard()
81{

Callers 2

~CManagerMethod · 0.45

Tested by

no test coverage detected