mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-07-01 08:25:27 -04:00
Fix warnings and formatting
This commit is contained in:
parent
11042dc889
commit
60c55970d3
@ -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
|
// Disable log on console, so we can more easily see device list
|
||||||
logger->setConsoleMinMessageLevel(QtFatalMsg);
|
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;
|
logger = nullptr;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -39,10 +39,10 @@ public:
|
|||||||
const QString& getFFTWFWisdomFileName() const { return m_fftwfWindowFileName; }
|
const QString& getFFTWFWisdomFileName() const { return m_fftwfWindowFileName; }
|
||||||
bool getRemoteTCPSink() const { return m_remoteTCPSink; }
|
bool getRemoteTCPSink() const { return m_remoteTCPSink; }
|
||||||
const QString& getRemoteTCPSinkAddressOption() const { return m_remoteTCPSinkAddress; }
|
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& getRemoteTCPSinkHWType() const { return m_remoteTCPSinkHWType; }
|
||||||
const QString& getRemoteTCPSinkSerial() const { return m_remoteTCPSinkSerial; }
|
const QString& getRemoteTCPSinkSerial() const { return m_remoteTCPSinkSerial; }
|
||||||
const bool getListDevices() const { return m_listDevices; }
|
bool getListDevices() const { return m_listDevices; }
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QString m_serverAddress;
|
QString m_serverAddress;
|
||||||
|
@ -81,7 +81,7 @@ static void startRemoteTCPSink(const QString& address, int port, const QString&
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create DeviceSet
|
// Create DeviceSet
|
||||||
int deviceSetIndex = mainCore->getDeviceSets().size();
|
unsigned int deviceSetIndex = mainCore->getDeviceSets().size();
|
||||||
MainCore::MsgAddDeviceSet *msg = MainCore::MsgAddDeviceSet::create(0);
|
MainCore::MsgAddDeviceSet *msg = MainCore::MsgAddDeviceSet::create(0);
|
||||||
mainCore->getMainMessageQueue()->push(msg);
|
mainCore->getMainMessageQueue()->push(msg);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user