Merge pull request #4560 from fufesou/refact/virtual_display_dummy_display

Refact/virtual display dummy display
This commit is contained in:
RustDesk
2023-06-06 22:24:33 +08:00
committed by GitHub
4 changed files with 35 additions and 27 deletions

View File

@@ -110,12 +110,6 @@ pub fn get_license() -> String {
Default::default()
}
#[inline]
#[cfg(target_os = "windows")]
pub fn get_option_opt(key: &str) -> Option<String> {
OPTIONS.lock().unwrap().get(key).map(|x| x.clone())
}
#[inline]
pub fn get_option(key: String) -> String {
get_option_(&key)