Some minor tweaks and fixes

* added names to timers
* Some DBus code formatting
* missing GUI element names
This commit is contained in:
Klaus Basan
2015-04-15 01:15:55 +02:00
parent 4e33cf5ac8
commit a05fa7494f
9 changed files with 23 additions and 31 deletions

View File

@@ -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;
};