1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-18 03:52:11 +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:
pip 2011-03-04 23:16:51 +00:00 committed by pip
parent 8d085552fb
commit 63d919dbbe

View File

@ -129,7 +129,7 @@ bool ConnectionManager::connectDevice()
m_connectionDevice = connection_device;
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);
m_connectBtn->setText("Disconnect");