mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Update display capture toolbar dropdown to use uuid field
This commit is contained in:
@@ -311,15 +311,13 @@ void DisplayCaptureToolbar::Init()
|
||||
const char *device_str =
|
||||
get_os_text(mod, "Monitor", "DisplayCapture.Display", "Screen");
|
||||
ui->deviceLabel->setText(device_str);
|
||||
#ifndef _WIN32
|
||||
is_int = true;
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
prop_name = "monitor_id";
|
||||
#elif __APPLE__
|
||||
prop_name = "display";
|
||||
prop_name = "display_uuid";
|
||||
#else
|
||||
is_int = true;
|
||||
prop_name = "screen";
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user