Fix linux warnings

pull/1127/head
Jon Beniston 2022-02-04 22:26:40 +00:00
rodzic 09eff20a8e
commit bce51d09d7
6 zmienionych plików z 9 dodań i 4 usunięć

Wyświetl plik

@ -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
Wyświetl plik

@ -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,

Wyświetl plik

@ -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())
{

Wyświetl plik

@ -20,7 +20,7 @@
#include "mapwebsocketserver.h"
#include "czml.h"
#include "swgmapanimation.h"
#include "SWGMapAnimation.h"
class MapItem;

Wyświetl plik

@ -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;
}

Wyświetl plik

@ -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)
{