mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Fix lint warnings.
This commit is contained in:
parent
5d1478d047
commit
98aa40424d
@ -374,7 +374,7 @@ void RTLSDRThread::handleInputMessages()
|
||||
{
|
||||
Message* message;
|
||||
|
||||
while ((message = m_inputMessageQueue.pop()) != 0)
|
||||
while ((message = m_inputMessageQueue.pop()) != nullptr)
|
||||
{
|
||||
if (handleMessage(*message)) {
|
||||
delete message;
|
||||
@ -386,7 +386,7 @@ bool RTLSDRThread::handleMessage(const Message& cmd)
|
||||
{
|
||||
if (RTLSDRInput::MsgConfigureRTLSDR::match(cmd))
|
||||
{
|
||||
RTLSDRInput::MsgConfigureRTLSDR& conf = (RTLSDRInput::MsgConfigureRTLSDR&) cmd;
|
||||
auto& conf = (const RTLSDRInput::MsgConfigureRTLSDR&) cmd;
|
||||
|
||||
applySettings(conf.getSettings(), conf.getSettingsKeys(), conf.getForce());
|
||||
|
||||
|
@ -36,7 +36,7 @@ class RTLSDRThread : public QThread {
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RTLSDRThread(rtlsdr_dev_t* dev, SampleSinkFifo* sampleFifo, ReplayBuffer<quint8> *replayBuffer, const RTLSDRSettings& settings, QObject* parent = NULL);
|
||||
RTLSDRThread(rtlsdr_dev_t* dev, SampleSinkFifo* sampleFifo, ReplayBuffer<quint8> *replayBuffer, const RTLSDRSettings& settings, QObject* parent = nullptr);
|
||||
~RTLSDRThread();
|
||||
|
||||
void startWork();
|
||||
|
Loading…
Reference in New Issue
Block a user