diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2019-08-30 17:53:41 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2019-08-30 19:06:07 +0200 |
commit | 3779abce2f9562b94f59fc950400081037340096 (patch) | |
tree | 543cec5c14229b67db94a180690e7f38c4fb4346 /vcl | |
parent | a40fbd031de042b0181dc5570164ae8ce0abb0f1 (diff) |
tdf#127230 vcl: about dialog double-buffer on macOS is not needed
This was a problem since commit 7eb37a422f2e66bc177d72404c53659a248661ca
(tdf#118856 vcl: avoid flicker in the about dialog, 2019-08-12).
Given that probably sooner or later this application-level
double-buffering will not be needed anyway, just do the minimal fix and
avoid it for the about dialog on macOS.
(Versus low-level double-buffering as macOS, gtk3 or OpenGL does.)
Change-Id: I5dc60e5c064d1e90057f9aa9a22db9f67680eb26
Reviewed-on: https://gerrit.libreoffice.org/78313
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jenkins
Diffstat (limited to 'vcl')
-rw-r--r-- | vcl/source/window/aboutdialog.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vcl/source/window/aboutdialog.cxx b/vcl/source/window/aboutdialog.cxx index 4c8fb048bb9f..879c94d2910f 100644 --- a/vcl/source/window/aboutdialog.cxx +++ b/vcl/source/window/aboutdialog.cxx @@ -29,7 +29,9 @@ AboutDialog::AboutDialog(vcl::Window* pParent, WinBits nStyle, Dialog::InitFlag m_xBuilder->get(m_xCopyrightText, "copyright"); m_xBuilder->get(m_xBuildIdLink, "buildIdLink"); +#ifndef MACOSX m_xVersion->RequestDoubleBuffering(true); +#endif } void AboutDialog::set_content_area(VclBox* pBox) |