mirror of
https://github.com/clash-verge-rev/clash-verge-rev
synced 2025-05-05 14:13:45 +08:00
fix: function parameter call error
This commit is contained in:
parent
eefeec7f0a
commit
ab887c656a
@ -158,7 +158,7 @@ pub fn run() {
|
|||||||
|
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
{
|
{
|
||||||
log_err!(hotkey::Hotkey::global().register()("Control+Q", "quit"));
|
log_err!(hotkey::Hotkey::global().register("Control+Q", "quit"));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
tauri::WindowEvent::Focused(false) => {
|
tauri::WindowEvent::Focused(false) => {
|
||||||
@ -169,7 +169,7 @@ pub fn run() {
|
|||||||
|
|
||||||
#[cfg(not(target_os = "macos"))]
|
#[cfg(not(target_os = "macos"))]
|
||||||
{
|
{
|
||||||
log_err!(hotkey::Hotkey::global().unregister()("Control+Q"));
|
log_err!(hotkey::Hotkey::global().unregister("Control+Q"));
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
_ => {}
|
_ => {}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user