From df225afd058f6029cf97b3946f66aa289a5fd9ca Mon Sep 17 00:00:00 2001 From: Brad Davis Date: Fri, 12 Feb 2016 16:25:46 -0800 Subject: [PATCH] PR feedback --- interface/src/Application.cpp | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/interface/src/Application.cpp b/interface/src/Application.cpp index 1b1b3d2338..1391355a79 100644 --- a/interface/src/Application.cpp +++ b/interface/src/Application.cpp @@ -998,7 +998,7 @@ Application::Application(int& argc, char** argv, QElapsedTimer& startupTimer) : }); // Setting the interval to zero forces this to get called whenever there are no messages // in the queue, which can be pretty damn frequent. Hence the idle function has a bunch - // of logic to abort early if it's being called to often. + // of logic to abort early if it's being called too often. _idleTimer->start(0); } @@ -4830,17 +4830,9 @@ void Application::updateDisplayMode() { foreach(auto displayPlugin, standard) { addDisplayPluginToMenu(displayPlugin, first); - // This must be a queued connection to avoid a deadlock - //QObject::connect(displayPlugin.get(), &DisplayPlugin::requestRender, [=] { - // postEvent(this, new LambdaEvent([=] { - // paintGL(); - // }), Qt::HighEventPriority); - //}); - QObject::connect(displayPlugin.get(), &DisplayPlugin::recommendedFramebufferSizeChanged, [this](const QSize & size) { resizeGL(); }); - first = false; }