diff options
author | jan Iversen <jani@libreoffice.org> | 2018-05-21 17:36:04 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-21 12:48:04 -0700 |
commit | a312e53f0ce47dd2797070dff37e51fbfafd489a (patch) | |
tree | bb603a4ffafc2dea632a587e6cc5b7cdb91f73ca /core/btdiscovery.cpp | |
parent | 034f9a6ca2eabcc4714214ca07207509b00e39a2 (diff) | |
download | subsurface-a312e53f0ce47dd2797070dff37e51fbfafd489a.tar.gz |
core: Change Q_UNUSED to no parameter name
C++ permits use of parameters without name, which signals unused
Signed-off-by: Jan Iversen <jani@apache.org>
Diffstat (limited to 'core/btdiscovery.cpp')
-rw-r--r-- | core/btdiscovery.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/core/btdiscovery.cpp b/core/btdiscovery.cpp index ba4d7b1ce..a96deb6fd 100644 --- a/core/btdiscovery.cpp +++ b/core/btdiscovery.cpp @@ -64,10 +64,9 @@ static dc_descriptor_t *getDeviceType(QString btName) return NULL; } -BTDiscovery::BTDiscovery(QObject *parent) : m_btValid(false), +BTDiscovery::BTDiscovery(QObject*) : m_btValid(false), discoveryAgent(NULL) { - Q_UNUSED(parent) if (m_instance) { qDebug() << "trying to create an additional BTDiscovery object"; return; |