summaryrefslogtreecommitdiff
path: root/vcl/unx/kde5/KDE5SalInstance.hxx
diff options
context:
space:
mode:
authorJan-Marek Glogowski <glogow@fbihome.de>2019-06-07 19:09:18 +0200
committerMichael Weghorn <m.weghorn@posteo.de>2019-06-14 06:09:43 +0200
commit5ee408eb4c9f55d3438426290e91ac31d04821de (patch)
tree2b803f9f7693f1149163eb52ca5c8480abe27ba8 /vcl/unx/kde5/KDE5SalInstance.hxx
parenta21e297b1229dd389c691893ddc48605e9471db0 (diff)
tdf#125673 KDE5 implement a KDE5SalVirtualDevice
We just need AcquireGraphics() to return a KDE5Graphics. Otherwise the BufferDevice's SVP will use a SvpSalGraphics instead of the KDE5Graphics, which knows about Qt's theming. Reviewed-on: https://gerrit.libreoffice.org/73673 Tested-by: Jenkins Reviewed-by: Jan-Marek Glogowski <glogow@fbihome.de> (cherry picked from commit 2cb6a591b643a0f65dc58f060f60cc707ad3589c) Reviewed-on: https://gerrit.libreoffice.org/73722 Change-Id: I0ea646df260f2067d61c753f03dee01a003f382a Reviewed-on: https://gerrit.libreoffice.org/73963 Reviewed-by: Michael Weghorn <m.weghorn@posteo.de> Tested-by: Jenkins
Diffstat (limited to 'vcl/unx/kde5/KDE5SalInstance.hxx')
-rw-r--r--vcl/unx/kde5/KDE5SalInstance.hxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/vcl/unx/kde5/KDE5SalInstance.hxx b/vcl/unx/kde5/KDE5SalInstance.hxx
index 5980ea4699cc..ecb8f74627bb 100644
--- a/vcl/unx/kde5/KDE5SalInstance.hxx
+++ b/vcl/unx/kde5/KDE5SalInstance.hxx
@@ -42,6 +42,10 @@ public:
virtual bool IsMainThread() const override;
+ virtual std::unique_ptr<SalVirtualDevice>
+ CreateVirtualDevice(SalGraphics*, long&, long&, DeviceFormat,
+ const SystemGraphicsData* = nullptr) override;
+
private:
virtual SalFrame* CreateFrame(SalFrame* pParent, SalFrameStyleFlags nStyle) override;