Browse Source

Can't use interface as variable on Windows

QGC4.4
Don Gagne 11 years ago
parent
commit
ba0ef0a043
  1. 4
      src/comm/LinkManager.cc

4
src/comm/LinkManager.cc

@ -132,9 +132,9 @@ QList<LinkInterface*> LinkManager::getLinksForProtocol(ProtocolInterface* protoc
ProtocolInterface* LinkManager::getProtocolForLink(LinkInterface* link) ProtocolInterface* LinkManager::getProtocolForLink(LinkInterface* link)
{ {
_dataMutex.lock(); _dataMutex.lock();
ProtocolInterface* interface = _protocolLinks.key(link); ProtocolInterface* protocol = _protocolLinks.key(link);
_dataMutex.unlock(); _dataMutex.unlock();
return interface; return protocol;
} }
bool LinkManager::connectAll() bool LinkManager::connectAll()

Loading…
Cancel
Save