mirror of
https://github.com/outbackdingo/UltraGrid.git
synced 2026-03-20 22:40:18 +00:00
GUI: vuMeter: Remove unused variable and includes
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include <algorithm>
|
||||
#include <cmath>
|
||||
#include <thread>
|
||||
#include <QPainter>
|
||||
#include <QBrush>
|
||||
#include <QLinearGradient>
|
||||
@@ -66,7 +67,6 @@ void VuMeterWidget::updateVolumes(){
|
||||
setToolTip(connected ? "" : "Unable to read volume info from UG");
|
||||
|
||||
if(!ret){
|
||||
last_connect = std::chrono::system_clock::now();
|
||||
connect_ug();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -6,9 +6,7 @@
|
||||
#include <QPaintEvent>
|
||||
#include <memory>
|
||||
|
||||
#include <chrono>
|
||||
#include <future>
|
||||
#include <thread>
|
||||
|
||||
#include "astat.h"
|
||||
|
||||
@@ -61,8 +59,6 @@ private:
|
||||
void connect_ug();
|
||||
void disconnect_ug();
|
||||
|
||||
std::chrono::system_clock::time_point last_connect;
|
||||
|
||||
void paintMeter(QPainter&, int x, int y, int width, int height, double peak, double rms);
|
||||
void paintScale(QPainter&, int x, int y, int width, int height);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user