From e47d8671e95de10afa805d895679608b1afc827a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fredrik=20H=C3=B6glund?= Date: Wed, 26 Nov 2014 21:36:49 +0100 Subject: [PATCH] De-virtualize SceneOpenGL::Texture::load() SceneOpenGL::Texture is not subclassed anywhere so there is no reason for this function to be virtual. --- scene_opengl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.h b/scene_opengl.h index 28faf97d0c..e834068b14 100644 --- a/scene_opengl.h +++ b/scene_opengl.h @@ -171,7 +171,7 @@ public: virtual void discard(); protected: - virtual bool load(xcb_pixmap_t pix, const QSize &size, xcb_visualid_t); + bool load(xcb_pixmap_t pix, const QSize &size, xcb_visualid_t); Texture(TexturePrivate& dd);