Fixed most Qt 5.14 deprecation warnings

This commit is contained in:
Mat Sutcliffe
2019-12-31 00:38:59 +00:00
parent 010aaf58b5
commit 4a0d8e9864
40 changed files with 110 additions and 107 deletions

View File

@@ -17,7 +17,7 @@
#include <QColor>
#include <QObject>
#include <QTime>
#include <QElapsedTimer>
#include <QFrame>
class QPaintEvent;
@@ -76,7 +76,7 @@ namespace BlackGui
double m_peakLevel = 0.0;
//! Time at which m_peakLevel was last changed.
QTime m_peakLevelChanged;
QElapsedTimer m_peakLevelChanged;
static constexpr double High = 0.60;
static constexpr double DecayValue = 0.10;