1
0
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:
f4exb
2020-11-15 08:31:49 +01:00
parent 164b83a3ce
commit 82f98ab6c1
24 changed files with 71 additions and 20 deletions
+17 -3
View File
@@ -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;
}
}
}