kopia lustrzana https://gitlab.com/eliggett/wfview
Fix linux compile error
rodzic
b3758d210f
commit
cb434d694e
|
@ -40,6 +40,11 @@ struct freqt {
|
|||
double MHzDouble;
|
||||
};
|
||||
|
||||
struct rigStateStruct {
|
||||
freqt vfoAFreq;
|
||||
freqt vfoBFreq;
|
||||
};
|
||||
|
||||
class rigCommander : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
@ -345,6 +350,9 @@ private:
|
|||
double spectrumEndFreq;
|
||||
|
||||
struct rigCapabilities rigCaps;
|
||||
|
||||
rigStateStruct rigState;
|
||||
|
||||
bool haveRigCaps;
|
||||
model_kind model;
|
||||
quint8 spectSeqMax;
|
||||
|
|
|
@ -68,13 +68,12 @@ void rigCtlClient::socketReadyRead()
|
|||
{
|
||||
// Process command
|
||||
qDebug(logRigCtlD()) << sessionId << "command received" << commandBuffer;
|
||||
QString cmd = commandBuffer[0];
|
||||
|
||||
if (cmd.toLower() == "q")
|
||||
if (commandBuffer[0].toLower() == "q")
|
||||
{
|
||||
closeSocket();
|
||||
}
|
||||
else if (cmd == "1")
|
||||
else if (commandBuffer[0] == "1")
|
||||
{
|
||||
dumpCaps();
|
||||
}
|
||||
|
|
1
wfmain.h
1
wfmain.h
|
@ -552,6 +552,7 @@ private:
|
|||
preferences defPrefs;
|
||||
udpPreferences udpPrefs;
|
||||
udpPreferences udpDefPrefs;
|
||||
|
||||
colors defaultColors;
|
||||
|
||||
void setDefaultColors(); // populate with default values
|
||||
|
|
Ładowanie…
Reference in New Issue