From ccedbc0218e5394a350070fa08969376c23699ad Mon Sep 17 00:00:00 2001 From: PatTheMav Date: Mon, 1 May 2023 15:23:12 +0200 Subject: [PATCH] UI: Update display capture toolbar dropdown to use uuid field --- UI/context-bar-controls.cpp | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/UI/context-bar-controls.cpp b/UI/context-bar-controls.cpp index 55fe20495..bab58b59e 100644 --- a/UI/context-bar-controls.cpp +++ b/UI/context-bar-controls.cpp @@ -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