mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-08-30 14:17:45 +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:
@@ -238,7 +238,6 @@ MainWindow::MainWindow(not_null<Window::Controller*> controller)
|
|||||||
: Window::MainWindow(controller)
|
: Window::MainWindow(controller)
|
||||||
, _private(std::make_unique<Private>(this))
|
, _private(std::make_unique<Private>(this))
|
||||||
, psMainMenu(this) {
|
, psMainMenu(this) {
|
||||||
auto forceOpenGL = std::make_unique<QOpenGLWidget>(this);
|
|
||||||
_hideAfterFullScreenTimer.setCallback([this] { hideAndDeactivate(); });
|
_hideAfterFullScreenTimer.setCallback([this] { hideAndDeactivate(); });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user