#ifndef LRAMETER_H
#define LRAMETER_H
-#include <QWidget>
+#include <math.h>
#include <QLabel>
#include <QPaintEvent>
-
+#include <QWidget>
#include <mutex>
class LRAMeter : public QWidget
this->level_lufs = level_lufs;
this->range_low_lufs = range_low_lufs;
this->range_high_lufs = range_high_lufs;
- update();
+ QMetaObject::invokeMethod(this, "update", Qt::AutoConnection);
}
private: