From bca8777acd389c07312ec842a3014bc80fa22d46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Mon, 31 Jul 2017 18:20:07 +0200 Subject: [PATCH] Drop unused SceneXrender::Window::alpha_cached_opacity Credits to clang for finding unused private field. --- scene_xrender.cpp | 1 - scene_xrender.h | 1 - 2 files changed, 2 deletions(-) diff --git a/scene_xrender.cpp b/scene_xrender.cpp index 03c0d156e4..98295f0544 100644 --- a/scene_xrender.cpp +++ b/scene_xrender.cpp @@ -315,7 +315,6 @@ SceneXrender::Window::Window(Toplevel* c, SceneXrender *scene) : Scene::Window(c) , m_scene(scene) , format(XRenderUtils::findPictFormat(c->visual())) - , alpha_cached_opacity(0.0) { } diff --git a/scene_xrender.h b/scene_xrender.h index af8d2c2b18..a9eee6bf1c 100644 --- a/scene_xrender.h +++ b/scene_xrender.h @@ -206,7 +206,6 @@ private: void setPictureFilter(xcb_render_picture_t pic, ImageFilterType filter); SceneXrender *m_scene; xcb_render_pictformat_t format; - double alpha_cached_opacity; QRegion transformed_shape; static QRect temp_visibleRect; static XRenderPicture *s_tempPicture;