mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-11-22 08:04:49 -05:00
Fix linux warnings
This commit is contained in:
parent
09eff20a8e
commit
bce51d09d7
@ -80,7 +80,7 @@ for:
|
|||||||
sudo apt-get -y install build-essential cmake git xxd \
|
sudo apt-get -y install build-essential cmake git xxd \
|
||||||
devscripts fakeroot debhelper libfftw3-dev qtbase5-dev libqt5opengl5-dev \
|
devscripts fakeroot debhelper libfftw3-dev qtbase5-dev libqt5opengl5-dev \
|
||||||
qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libqt5websockets5-dev \
|
qttools5-dev qttools5-dev-tools qtmultimedia5-dev libqt5multimedia5-plugins libqt5websockets5-dev \
|
||||||
libqt5quick5 qtwebengine5-dev \
|
libqt5quick5 qtwebengine5-dev qtbase5-private-dev \
|
||||||
qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick-window2 qml-module-qtquick-dialogs \
|
qml-module-qtlocation qml-module-qtpositioning qml-module-qtquick-window2 qml-module-qtquick-dialogs \
|
||||||
qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtgraphicaleffects \
|
qml-module-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtgraphicaleffects \
|
||||||
libqt5serialport5-dev qtdeclarative5-dev qtpositioning5-dev qtlocation5-dev \
|
libqt5serialport5-dev qtdeclarative5-dev qtpositioning5-dev qtlocation5-dev \
|
||||||
|
1
debian/control
vendored
1
debian/control
vendored
@ -30,6 +30,7 @@ Build-Depends: debhelper (>= 9),
|
|||||||
qtpositioning5-dev,
|
qtpositioning5-dev,
|
||||||
qtlocation5-dev,
|
qtlocation5-dev,
|
||||||
qtwebengine5-dev,
|
qtwebengine5-dev,
|
||||||
|
qtbase5-private-dev,
|
||||||
libusb-1.0-0-dev,
|
libusb-1.0-0-dev,
|
||||||
libboost-all-dev,
|
libboost-all-dev,
|
||||||
libasound2-dev,
|
libasound2-dev,
|
||||||
|
@ -691,6 +691,8 @@ public:
|
|||||||
|
|
||||||
virtual bool match(const QString &aircraft, const QString &manufacturer, QString &model)
|
virtual bool match(const QString &aircraft, const QString &manufacturer, QString &model)
|
||||||
{
|
{
|
||||||
|
(void) manufacturer;
|
||||||
|
|
||||||
QRegularExpressionMatch match = m_aircraftRegExp.match(aircraft);
|
QRegularExpressionMatch match = m_aircraftRegExp.match(aircraft);
|
||||||
if (match.hasMatch())
|
if (match.hasMatch())
|
||||||
{
|
{
|
||||||
|
@ -20,7 +20,7 @@
|
|||||||
|
|
||||||
#include "mapwebsocketserver.h"
|
#include "mapwebsocketserver.h"
|
||||||
#include "czml.h"
|
#include "czml.h"
|
||||||
#include "swgmapanimation.h"
|
#include "SWGMapAnimation.h"
|
||||||
|
|
||||||
class MapItem;
|
class MapItem;
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ void MapWebSocketServer::onNewConnection()
|
|||||||
|
|
||||||
void MapWebSocketServer::processTextMessage(QString message)
|
void MapWebSocketServer::processTextMessage(QString message)
|
||||||
{
|
{
|
||||||
QWebSocket *client = qobject_cast<QWebSocket *>(sender());
|
//QWebSocket *client = qobject_cast<QWebSocket *>(sender());
|
||||||
//qDebug() << "MapWebSocketServer::processTextMessage - Received text " << message;
|
//qDebug() << "MapWebSocketServer::processTextMessage - Received text " << message;
|
||||||
|
|
||||||
QJsonParseError error;
|
QJsonParseError error;
|
||||||
@ -65,7 +65,7 @@ void MapWebSocketServer::processTextMessage(QString message)
|
|||||||
|
|
||||||
void MapWebSocketServer::processBinaryMessage(QByteArray message)
|
void MapWebSocketServer::processBinaryMessage(QByteArray message)
|
||||||
{
|
{
|
||||||
QWebSocket *client = qobject_cast<QWebSocket *>(sender());
|
//QWebSocket *client = qobject_cast<QWebSocket *>(sender());
|
||||||
// Shouldn't receive any binary messages for now
|
// Shouldn't receive any binary messages for now
|
||||||
qDebug() << "MapWebSocketServer::processBinaryMessage - Received binary " << message;
|
qDebug() << "MapWebSocketServer::processBinaryMessage - Received binary " << message;
|
||||||
}
|
}
|
||||||
|
@ -100,6 +100,8 @@ void HttpDownloadManagerGUI::downloadCompleteGUI(const QString& filename, bool s
|
|||||||
|
|
||||||
void HttpDownloadManagerGUI::retryDownload(const QString &filename, QNetworkReply *oldReply, QNetworkReply *newReply)
|
void HttpDownloadManagerGUI::retryDownload(const QString &filename, QNetworkReply *oldReply, QNetworkReply *newReply)
|
||||||
{
|
{
|
||||||
|
(void) oldReply;
|
||||||
|
|
||||||
int idx = m_filenames.indexOf(filename);
|
int idx = m_filenames.indexOf(filename);
|
||||||
if (idx >= 0)
|
if (idx >= 0)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user