UI: Avoid registering CEF OAuth integrations on Wayland

This commit is contained in:
tytan652
2023-05-07 13:51:52 -07:00
committed by Jim
parent d63ed016b4
commit 169cd07c42
2 changed files with 10 additions and 0 deletions
+5
View File
@@ -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);
}