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
					
				
					 1 changed files with 0 additions and 1 deletions
				
			
		|  | @ -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(); }); | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		
		Reference in a new issue
	
	 Ilya Fedin
						Ilya Fedin