mirror of
https://github.com/f4exb/sdrangel.git
synced 2024-12-23 01:55:48 -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 \
|
||||
devscripts fakeroot debhelper libfftw3-dev qtbase5-dev libqt5opengl5-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-qtquick-controls qml-module-qtquick-controls2 qml-module-qtquick-layouts qml-module-qtgraphicaleffects \
|
||||
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,
|
||||
qtlocation5-dev,
|
||||
qtwebengine5-dev,
|
||||
qtbase5-private-dev,
|
||||
libusb-1.0-0-dev,
|
||||
libboost-all-dev,
|
||||
libasound2-dev,
|
||||
|
@ -691,6 +691,8 @@ public:
|
||||
|
||||
virtual bool match(const QString &aircraft, const QString &manufacturer, QString &model)
|
||||
{
|
||||
(void) manufacturer;
|
||||
|
||||
QRegularExpressionMatch match = m_aircraftRegExp.match(aircraft);
|
||||
if (match.hasMatch())
|
||||
{
|
||||
|
@ -20,7 +20,7 @@
|
||||
|
||||
#include "mapwebsocketserver.h"
|
||||
#include "czml.h"
|
||||
#include "swgmapanimation.h"
|
||||
#include "SWGMapAnimation.h"
|
||||
|
||||
class MapItem;
|
||||
|
||||
|
@ -51,7 +51,7 @@ void MapWebSocketServer::onNewConnection()
|
||||
|
||||
void MapWebSocketServer::processTextMessage(QString message)
|
||||
{
|
||||
QWebSocket *client = qobject_cast<QWebSocket *>(sender());
|
||||
//QWebSocket *client = qobject_cast<QWebSocket *>(sender());
|
||||
//qDebug() << "MapWebSocketServer::processTextMessage - Received text " << message;
|
||||
|
||||
QJsonParseError error;
|
||||
@ -65,7 +65,7 @@ void MapWebSocketServer::processTextMessage(QString 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
|
||||
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) oldReply;
|
||||
|
||||
int idx = m_filenames.indexOf(filename);
|
||||
if (idx >= 0)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user