mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-30 15:52:12 +01:00
Remove a Q_UNUSED where the parameter doesn't exist.
This commit is contained in:
parent
2488b48f50
commit
7cb6e71fae
@ -176,8 +176,6 @@ QList <Core::IConnection::device> IPconnectionConnection::availableDevices()
|
|||||||
|
|
||||||
QIODevice *IPconnectionConnection::openDevice(const QString &)
|
QIODevice *IPconnectionConnection::openDevice(const QString &)
|
||||||
{
|
{
|
||||||
Q_UNUSED(deviceName);
|
|
||||||
|
|
||||||
QString HostName;
|
QString HostName;
|
||||||
int Port;
|
int Port;
|
||||||
bool UseTCP;
|
bool UseTCP;
|
||||||
@ -212,8 +210,6 @@ QIODevice *IPconnectionConnection::openDevice(const QString &)
|
|||||||
|
|
||||||
void IPconnectionConnection::closeDevice(const QString &)
|
void IPconnectionConnection::closeDevice(const QString &)
|
||||||
{
|
{
|
||||||
Q_UNUSED(deviceName);
|
|
||||||
|
|
||||||
if (ipSocket){
|
if (ipSocket){
|
||||||
ipConMutex.lock();
|
ipConMutex.lock();
|
||||||
emit CloseSocket(ipSocket);
|
emit CloseSocket(ipSocket);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user