From 78b944747e374c9245173072cf78e67118344d10 Mon Sep 17 00:00:00 2001 From: Jan-Marek Glogowski Date: Mon, 19 Sep 2016 22:31:17 +0200 Subject: tdf#94172 KDE4 fix gradient toolbars Bug introduced by commit 4f5fe008a3d5f0b5ddfa656299306cff9d57d802. The code was moved from ImplInitSettings to ApplySettings and somehow a not (!) got lost. Change-Id: Ie3fa4fb99d030d106aab712cd6bdafada8c6d423 --- vcl/source/window/dockingarea.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'vcl/source/window/dockingarea.cxx') diff --git a/vcl/source/window/dockingarea.cxx b/vcl/source/window/dockingarea.cxx index 1806519f9c02..a1de6bc606e7 100644 --- a/vcl/source/window/dockingarea.cxx +++ b/vcl/source/window/dockingarea.cxx @@ -149,7 +149,7 @@ void DockingAreaWindow::ApplySettings(vcl::RenderContext& rRenderContext) rRenderContext.SetBackground(aWallpaper); } - else if (rRenderContext.IsNativeControlSupported(ControlType::Toolbar, ControlPart::Entire)) + else if (!rRenderContext.IsNativeControlSupported(ControlType::Toolbar, ControlPart::Entire)) { Wallpaper aWallpaper; aWallpaper.SetStyle(WallpaperStyle::ApplicationGradient); -- cgit