mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-13 15:45:42 +08:00
Ref T171, formatting
This commit is contained in:
@@ -21,7 +21,6 @@
|
||||
class QWidget;
|
||||
|
||||
namespace Ui { class CAudioVolumeComponent; }
|
||||
|
||||
namespace BlackGui
|
||||
{
|
||||
namespace Components
|
||||
|
||||
@@ -25,11 +25,11 @@ namespace BlackMisc
|
||||
m_inputsCount++;
|
||||
if (m_inputsCount >= m_maxInputsPerDigest)
|
||||
{
|
||||
ps_timeout();
|
||||
timerTimeout();
|
||||
}
|
||||
}
|
||||
|
||||
void CDigestSignal::ps_timeout()
|
||||
void CDigestSignal::timerTimeout()
|
||||
{
|
||||
m_timer.stop();
|
||||
m_inputsCount = 0;
|
||||
@@ -38,7 +38,7 @@ namespace BlackMisc
|
||||
|
||||
void CDigestSignal::init(int maxDelayMs)
|
||||
{
|
||||
QObject::connect(&m_timer, &QTimer::timeout, this, &CDigestSignal::ps_timeout);
|
||||
QObject::connect(&m_timer, &QTimer::timeout, this, &CDigestSignal::timerTimeout);
|
||||
m_timer.setSingleShot(true);
|
||||
m_timer.setInterval(maxDelayMs);
|
||||
}
|
||||
|
||||
@@ -55,11 +55,10 @@ namespace BlackMisc
|
||||
//! Received input signal, or manually trigger
|
||||
void inputSignal();
|
||||
|
||||
private slots:
|
||||
//! Timer timed out
|
||||
void ps_timeout();
|
||||
|
||||
private:
|
||||
//! Timer timed out
|
||||
void timerTimeout();
|
||||
|
||||
//! Init in ctor
|
||||
void init(int maxDelayMs);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user