From 3779abce2f9562b94f59fc950400081037340096 Mon Sep 17 00:00:00 2001 From: Miklos Vajna Date: Fri, 30 Aug 2019 17:53:41 +0200 Subject: 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 Tested-by: Jenkins --- vcl/source/window/aboutdialog.cxx | 2 ++ 1 file changed, 2 insertions(+) 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) -- cgit office-5-1 LibreOffice 核心代码仓库文档基金会
summaryrefslogtreecommitdiff
AgeCommit message (Expand)Author
2012-02-05switch to include-based build rather than sourced-based buildNorbert Thiebaud