Remove unused variables
Thanks to clang for better warnings than g++.
This commit is contained in:
parent
c390a94261
commit
aa7db138e8
2 changed files with 0 additions and 3 deletions
|
@ -1477,7 +1477,6 @@ void SceneOpenGL2Window::restoreStates(TextureType type, qreal opacity, qreal br
|
|||
|
||||
OpenGLWindowPixmap::OpenGLWindowPixmap(Scene::Window *window, SceneOpenGL* scene)
|
||||
: WindowPixmap(window)
|
||||
, m_scene(scene)
|
||||
, m_texture(scene->createTexture())
|
||||
{
|
||||
}
|
||||
|
@ -2063,7 +2062,6 @@ bool SceneOpenGLShadow::prepareBackend()
|
|||
const QSize top(shadowPixmap(ShadowElementTop).size());
|
||||
const QSize topRight(shadowPixmap(ShadowElementTopRight).size());
|
||||
const QSize right(shadowPixmap(ShadowElementRight).size());
|
||||
const QSize bottomRight(shadowPixmap(ShadowElementBottomRight).size());
|
||||
const QSize bottom(shadowPixmap(ShadowElementBottom).size());
|
||||
const QSize bottomLeft(shadowPixmap(ShadowElementBottomLeft).size());
|
||||
const QSize left(shadowPixmap(ShadowElementLeft).size());
|
||||
|
|
|
@ -303,7 +303,6 @@ public:
|
|||
SceneOpenGL::Texture *texture() const;
|
||||
bool bind();
|
||||
private:
|
||||
SceneOpenGL *m_scene;
|
||||
QScopedPointer<SceneOpenGL::Texture> m_texture;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue