mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-24 23:31:36 +08:00
UI: Avoid registering CEF OAuth integrations on Wayland
This commit is contained in:
@@ -282,6 +282,11 @@ static void DeleteCookies()
|
||||
|
||||
void RegisterRestreamAuth()
|
||||
{
|
||||
#if !defined(__APPLE__) && !defined(_WIN32)
|
||||
if (QApplication::platformName().contains("wayland"))
|
||||
return;
|
||||
#endif
|
||||
|
||||
OAuth::RegisterOAuth(restreamDef, CreateRestreamAuth,
|
||||
RestreamAuth::Login, DeleteCookies);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user