From 786d8dd22ee1e332df59a7016ee9352123fbcdb8 Mon Sep 17 00:00:00 2001 From: Ilya Fedin Date: Sat, 17 Jun 2023 15:47:22 +0400 Subject: [PATCH] Get rid of QOpenGLWidget in main_window_mac ui_window_mac has logic depending on Qt version to use Metal when possible, this will conflict once Qt is updated to 6.4+ --- Telegram/SourceFiles/platform/mac/main_window_mac.mm | 1 - 1 file changed, 1 deletion(-) diff --git a/Telegram/SourceFiles/platform/mac/main_window_mac.mm b/Telegram/SourceFiles/platform/mac/main_window_mac.mm index 71096fac0..6110d4ce8 100644 --- a/Telegram/SourceFiles/platform/mac/main_window_mac.mm +++ b/Telegram/SourceFiles/platform/mac/main_window_mac.mm @@ -238,7 +238,6 @@ MainWindow::MainWindow(not_null controller) : Window::MainWindow(controller) , _private(std::make_unique(this)) , psMainMenu(this) { - auto forceOpenGL = std::make_unique(this); _hideAfterFullScreenTimer.setCallback([this] { hideAndDeactivate(); }); }