2
0
mirror of https://github.com/kotatogram/kotatogram-desktop synced 2025-08-31 14:45:14 +00:00

Workaround render glitches on new MacBooks.

For unknown reason large windows have bad render glitches in High Sierra.
Forcing of OpenGL composition (by adding a fake child QOpenGLWidget) fixes it.
This commit is contained in:
John Preston
2017-10-16 17:16:01 +03:00
parent 5b190c5098
commit 508fa14385
3 changed files with 5 additions and 1 deletions

View File

@@ -135,6 +135,9 @@ void MainWindow::updateWindowIcon() {
}
void MainWindow::init() {
Expects(!windowHandle());
createWinId();
initHook();
updateWindowIcon();