Fix some warnings
This commit is contained in:
parent
2b58a1e19a
commit
8c0b714791
|
@ -199,7 +199,6 @@ void DeviceManager::PhysicalDeviceAdded(const QString &id) {
|
|||
}
|
||||
|
||||
void DeviceManager::PhysicalDeviceRemoved(const QString &id) {
|
||||
DeviceLister* lister = qobject_cast<DeviceLister*>(sender());
|
||||
qDebug() << "Device removed:" << id;
|
||||
|
||||
int i = FindDeviceById(id);
|
||||
|
@ -227,6 +226,7 @@ void DeviceManager::PhysicalDeviceRemoved(const QString &id) {
|
|||
|
||||
void DeviceManager::PhysicalDeviceChanged(const QString &id) {
|
||||
DeviceLister* lister = qobject_cast<DeviceLister*>(sender());
|
||||
Q_UNUSED(lister);
|
||||
|
||||
int i = FindDeviceById(id);
|
||||
if (i == -1) {
|
||||
|
|
Loading…
Reference in New Issue