1
0
mirror of https://github.com/f4exb/sdrangel.git synced 2024-11-25 09:18:54 -05:00

Fix warnings and formatting

This commit is contained in:
Jon Beniston 2023-09-05 17:14:09 +01:00
parent 11042dc889
commit 60c55970d3
4 changed files with 235 additions and 235 deletions

View File

@ -95,7 +95,7 @@ static int runQtApplication(int argc, char* argv[], qtwebapp::LoggerWithFile *lo
{
// Disable log on console, so we can more easily see device list
logger->setConsoleMinMessageLevel(QtFatalMsg);
// Don't pass logger to MainWindow, otherwise it can reenable log output
// Don't pass logger to MainServer, otherwise it can reenable log output
logger = nullptr;
}

View File

@ -39,10 +39,10 @@ public:
const QString& getFFTWFWisdomFileName() const { return m_fftwfWindowFileName; }
bool getRemoteTCPSink() const { return m_remoteTCPSink; }
const QString& getRemoteTCPSinkAddressOption() const { return m_remoteTCPSinkAddress; }
const int getRemoteTCPSinkPortOption() const { return m_remoteTCPSinkPort; }
int getRemoteTCPSinkPortOption() const { return m_remoteTCPSinkPort; }
const QString& getRemoteTCPSinkHWType() const { return m_remoteTCPSinkHWType; }
const QString& getRemoteTCPSinkSerial() const { return m_remoteTCPSinkSerial; }
const bool getListDevices() const { return m_listDevices; }
bool getListDevices() const { return m_listDevices; }
private:
QString m_serverAddress;

View File

@ -81,7 +81,7 @@ static void startRemoteTCPSink(const QString& address, int port, const QString&
}
// Create DeviceSet
int deviceSetIndex = mainCore->getDeviceSets().size();
unsigned int deviceSetIndex = mainCore->getDeviceSets().size();
MainCore::MsgAddDeviceSet *msg = MainCore::MsgAddDeviceSet::create(0);
mainCore->getMainMessageQueue()->push(msg);