mirror of
https://github.com/f4exb/sdrangel.git
synced 2026-06-05 07:24:44 -04:00
cmake: re-integrated -Woverloaded-virtual and fixed corresponding warnings
This commit is contained in:
@@ -21,9 +21,10 @@
|
||||
|
||||
#include "filerecordinterface.h"
|
||||
|
||||
FileRecordInterface::FileRecordInterface() :
|
||||
BasebandSampleSink()
|
||||
{}
|
||||
FileRecordInterface::FileRecordInterface()
|
||||
{
|
||||
connect(&m_inputMessageQueue, SIGNAL(messageEnqueued()), this, SLOT(handleInputMessages()));
|
||||
}
|
||||
|
||||
FileRecordInterface::~FileRecordInterface()
|
||||
{}
|
||||
@@ -72,3 +73,16 @@ FileRecordInterface::RecordType FileRecordInterface::guessTypeFromFileName(const
|
||||
return RecordTypeUndefined;
|
||||
}
|
||||
}
|
||||
|
||||
void FileRecordInterface::handleInputMessages()
|
||||
{
|
||||
Message* message;
|
||||
|
||||
while ((message = m_inputMessageQueue.pop()) != 0)
|
||||
{
|
||||
if (handleMessage(*message))
|
||||
{
|
||||
delete message;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user