diff --git a/sdrgui/gui/glscope.cpp b/sdrgui/gui/glscope.cpp index 6cb63c444..87e375866 100644 --- a/sdrgui/gui/glscope.cpp +++ b/sdrgui/gui/glscope.cpp @@ -103,7 +103,7 @@ void GLScope::newTraces(std::vector* traces) { if (traces->size() > 0) { - if (!m_mutex.tryLock(2)) { + if (!m_mutex.tryLock(0)) { return; } @@ -119,7 +119,7 @@ void GLScope::newTraces(std::vector* traces, int traceIndex) { if (traces->size() > 0) { - if(!m_mutex.tryLock(2)) { + if(!m_mutex.tryLock(0)) { return; } @@ -197,7 +197,7 @@ void GLScope::resizeGL(int width, int height) void GLScope::paintGL() { - if (!m_mutex.tryLock(2)) { + if (!m_mutex.tryLock(0)) { return; }