mirror of
https://github.com/telegramdesktop/tdesktop
synced 2024-12-14 02:14:44 +00:00
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+
This commit is contained in:
parent
12eed5f433
commit
786d8dd22e
@ -238,7 +238,6 @@ MainWindow::MainWindow(not_null<Window::Controller*> controller)
|
||||
: Window::MainWindow(controller)
|
||||
, _private(std::make_unique<Private>(this))
|
||||
, psMainMenu(this) {
|
||||
auto forceOpenGL = std::make_unique<QOpenGLWidget>(this);
|
||||
_hideAfterFullScreenTimer.setCallback([this] { hideAndDeactivate(); });
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user