Nits: Fix code style.
This commit is contained in:
parent
9342d59a7c
commit
b2217474c1
2 changed files with 6 additions and 4 deletions
|
@ -69,11 +69,13 @@ void Shortcut::Register() {
|
||||||
}
|
}
|
||||||
|
|
||||||
void Shortcut::Unregister() {
|
void Shortcut::Unregister() {
|
||||||
GlobalShortcutListener::GetInstance()->UnregisterAccelerator(accelerator_, this);
|
GlobalShortcutListener::GetInstance()->UnregisterAccelerator(
|
||||||
|
accelerator_, this);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool Shortcut::IsRegistered() {
|
bool Shortcut::IsRegistered() {
|
||||||
return GlobalShortcutListener::GetInstance()->IsAcceleratorRegistered(accelerator_);
|
return GlobalShortcutListener::GetInstance()->IsAcceleratorRegistered(
|
||||||
|
accelerator_);
|
||||||
}
|
}
|
||||||
|
|
||||||
// static
|
// static
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue