From ff2590ac52d246bab051623a2b5a49e6b72e663f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20L=C3=BCbking?= Date: Mon, 8 Jun 2015 23:17:20 +0200 Subject: [PATCH] fix compilation on older gcc (at least 4.8.3) thanks to Hrvoje Senjan for bringing this up REVIEW: 123936 --- scene_opengl.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scene_opengl.cpp b/scene_opengl.cpp index 9f7399ee79..8b0f24a349 100644 --- a/scene_opengl.cpp +++ b/scene_opengl.cpp @@ -460,7 +460,7 @@ static void scheduleVboReInit() delete timer; timer = new QTimer(gs_debuggedScene); timer->setSingleShot(true); - QObject::connect(timer, &QTimer::timeout, gs_debuggedScene, []() { + QObject::connect(timer.data(), &QTimer::timeout, gs_debuggedScene, []() { GLVertexBuffer::cleanup(); GLVertexBuffer::initStatic(); });