Fix some warnings

This commit is contained in:
David Sansome 2010-07-04 11:46:42 +00:00
parent 2b58a1e19a
commit 8c0b714791
1 changed files with 1 additions and 1 deletions

View File

@ -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) {