fix compilation on older gcc (at least 4.8.3)

thanks to Hrvoje Senjan for bringing this up
REVIEW: 123936
This commit is contained in:
Thomas Lübking 2015-06-08 23:17:20 +02:00
parent cc9a95df5d
commit ff2590ac52

View file

@ -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();
});