mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-08 03:35:35 +08:00
Fixed most Qt 5.14 deprecation warnings
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user