mirror of
https://github.com/clementine-player/Clementine
synced 2024-12-16 11:19:18 +01:00
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) {
|
void DeviceManager::PhysicalDeviceRemoved(const QString &id) {
|
||||||
DeviceLister* lister = qobject_cast<DeviceLister*>(sender());
|
|
||||||
qDebug() << "Device removed:" << id;
|
qDebug() << "Device removed:" << id;
|
||||||
|
|
||||||
int i = FindDeviceById(id);
|
int i = FindDeviceById(id);
|
||||||
@ -227,6 +226,7 @@ void DeviceManager::PhysicalDeviceRemoved(const QString &id) {
|
|||||||
|
|
||||||
void DeviceManager::PhysicalDeviceChanged(const QString &id) {
|
void DeviceManager::PhysicalDeviceChanged(const QString &id) {
|
||||||
DeviceLister* lister = qobject_cast<DeviceLister*>(sender());
|
DeviceLister* lister = qobject_cast<DeviceLister*>(sender());
|
||||||
|
Q_UNUSED(lister);
|
||||||
|
|
||||||
int i = FindDeviceById(id);
|
int i = FindDeviceById(id);
|
||||||
if (i == -1) {
|
if (i == -1) {
|
||||||
|
Loading…
Reference in New Issue
Block a user