mirror of
https://github.com/obsproject/obs-studio.git
synced 2024-07-08 12:24:09 +00:00
UI: Update display capture toolbar dropdown to use uuid field
This commit is contained in:
parent
fb9b5c829a
commit
ccedbc0218
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue