diff --git a/osciwidget.cpp b/osciwidget.cpp index 6e00692..91d1b1d 100644 --- a/osciwidget.cpp +++ b/osciwidget.cpp @@ -62,6 +62,9 @@ void OsciWidget::paintEvent(QPaintEvent *event) void OsciWidget::updateFrameBuffer() { + // Workaround for flickering (do not update, when there is no new data) + if(m_buffer.empty()) return; + if (m_pixmap.size() != size()) m_pixmap = QPixmap(size());