mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-11 14:45:33 +08:00
Some minor tweaks and fixes
* added names to timers * Some DBus code formatting * missing GUI element names
This commit is contained in:
@@ -20,17 +20,15 @@
|
||||
namespace BlackGui
|
||||
{
|
||||
|
||||
/**
|
||||
* Widget which displays a vertical audio level meter, indicating the
|
||||
* RMS and peak levels of the window of audio samples most recently analyzed
|
||||
* by the Engine.
|
||||
*/
|
||||
//! Widget which displays a vertical audio level meter, indicating the
|
||||
//! RMS and peak levels of the window of audio samples most recently analyzed
|
||||
//! by the Engine.
|
||||
class CLevelMeter : public QWidget
|
||||
{
|
||||
Q_OBJECT
|
||||
public:
|
||||
//! Constructor
|
||||
CLevelMeter(QWidget *parent = 0);
|
||||
CLevelMeter(QWidget *parent = nullptr);
|
||||
|
||||
//! Destructor
|
||||
~CLevelMeter();
|
||||
@@ -76,7 +74,7 @@ namespace BlackGui
|
||||
//! Time at which m_peakHoldLevel was last changed.
|
||||
QTime m_peakHoldLevelChanged;
|
||||
|
||||
QTimer *m_redrawTimer;
|
||||
QTimer *m_redrawTimer = nullptr;
|
||||
QColor m_rmsColor;
|
||||
QColor m_peakColor;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user