mirror of
https://github.com/clementine-player/Clementine
synced 2025-01-08 16:22:10 +01:00
Remove debug + Mac typo.
This commit is contained in:
parent
809ac54bef
commit
73657ccaaa
@ -15,8 +15,6 @@ void iLister::Init() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void iLister::EventCallback(const idevice_event_t* event, void* context) {
|
void iLister::EventCallback(const idevice_event_t* event, void* context) {
|
||||||
qDebug() << Q_FUNC_INFO;
|
|
||||||
|
|
||||||
iLister* me = reinterpret_cast<iLister*>(context);
|
iLister* me = reinterpret_cast<iLister*>(context);
|
||||||
|
|
||||||
const char* uuid = event->uuid;
|
const char* uuid = event->uuid;
|
||||||
@ -34,8 +32,6 @@ void iLister::EventCallback(const idevice_event_t* event, void* context) {
|
|||||||
|
|
||||||
|
|
||||||
void iLister::DeviceAddedCallback(const char* uuid) {
|
void iLister::DeviceAddedCallback(const char* uuid) {
|
||||||
qDebug() << Q_FUNC_INFO;
|
|
||||||
|
|
||||||
DeviceInfo info = ReadDeviceInfo(uuid);
|
DeviceInfo info = ReadDeviceInfo(uuid);
|
||||||
QString id = UniqueId(uuid);
|
QString id = UniqueId(uuid);
|
||||||
|
|
||||||
@ -48,8 +44,6 @@ void iLister::DeviceAddedCallback(const char* uuid) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void iLister::DeviceRemovedCallback(const char* uuid) {
|
void iLister::DeviceRemovedCallback(const char* uuid) {
|
||||||
qDebug() << Q_FUNC_INFO;
|
|
||||||
|
|
||||||
QString id = UniqueId(uuid);
|
QString id = UniqueId(uuid);
|
||||||
{
|
{
|
||||||
QMutexLocker l(&mutex_);
|
QMutexLocker l(&mutex_);
|
||||||
|
@ -237,7 +237,7 @@ QString MacDeviceLister::MakeFriendlyName(const QString& serial) {
|
|||||||
return vendor + " " + product;
|
return vendor + " " + product;
|
||||||
}
|
}
|
||||||
|
|
||||||
QList<QUrl> MacDeviceLister::MakeDeviceUrsl(const QString& serial) {
|
QList<QUrl> MacDeviceLister::MakeDeviceUrls(const QString& serial) {
|
||||||
QString bsd_name = current_devices_[serial];
|
QString bsd_name = current_devices_[serial];
|
||||||
DASessionRef session = DASessionCreate(kCFAllocatorDefault);
|
DASessionRef session = DASessionCreate(kCFAllocatorDefault);
|
||||||
DADiskRef disk = DADiskCreateFromBSDName(
|
DADiskRef disk = DADiskCreateFromBSDName(
|
||||||
|
Loading…
Reference in New Issue
Block a user