mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-01-29 14:52:12 +01:00
Removed monitor (SIGNAL/SLOT) for deviceClosed event. will remove the device closed stuff in rawhid if alls well later
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@2968 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
8d085552fb
commit
63d919dbbe
@ -129,7 +129,7 @@ bool ConnectionManager::connectDevice()
|
|||||||
m_connectionDevice = connection_device;
|
m_connectionDevice = connection_device;
|
||||||
m_ioDev = io_dev;
|
m_ioDev = io_dev;
|
||||||
|
|
||||||
connect(m_connectionDevice.connection, SIGNAL(deviceClosed(QObject *)), this, SLOT(onConnectionClosed(QObject *)), Qt::QueuedConnection);
|
// connect(m_connectionDevice.connection, SIGNAL(deviceClosed(QObject *)), this, SLOT(onConnectionClosed(QObject *)));
|
||||||
connect(m_connectionDevice.connection, SIGNAL(destroyed(QObject *)), this, SLOT(onConnectionDestroyed(QObject *)), Qt::QueuedConnection);
|
connect(m_connectionDevice.connection, SIGNAL(destroyed(QObject *)), this, SLOT(onConnectionDestroyed(QObject *)), Qt::QueuedConnection);
|
||||||
|
|
||||||
m_connectBtn->setText("Disconnect");
|
m_connectBtn->setText("Disconnect");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user