We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 585806e commit 1f403a2Copy full SHA for 1f403a2
src/hobbits-plugins/displays/Spectrogram/spectrogramrenderer.cpp
@@ -575,8 +575,9 @@ bool SpectrogramRenderer::logarithmic() const
575
void SpectrogramRenderer::setLogarithmic(bool logarithmic)
576
{
577
if (!m_logarithmic == logarithmic) {
578
- QMutexLocker lock(&m_mutex);
+ m_mutex.lock();
579
m_logarithmic = logarithmic;
580
+ m_mutex.unlock();
581
setDirty();
582
}
583
0 commit comments