mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-02 23:25:53 +08:00
Don't use member access notation to call static methods.
This commit is contained in:
@@ -74,9 +74,9 @@ namespace BlackSound
|
||||
if (!this->m_pushTimer)
|
||||
{
|
||||
this->m_pushTimer = new QTimer(this);
|
||||
bool connect = this->connect(this->m_pushTimer, &QTimer::timeout, this, &CSoundGenerator::pushTimerExpired);
|
||||
Q_ASSERT(connect);
|
||||
Q_UNUSED(connect); // suppress Clang warning in release build
|
||||
bool ok = connect(this->m_pushTimer, &QTimer::timeout, this, &CSoundGenerator::pushTimerExpired);
|
||||
Q_ASSERT(ok);
|
||||
Q_UNUSED(ok); // suppress Clang warning in release build
|
||||
this->m_pushTimer->start(20);
|
||||
}
|
||||
this->m_pushModeIODevice = this->m_audioOutput->start(); // push, IO device not owned
|
||||
|
||||
Reference in New Issue
Block a user