From 73657ccaaae2a213977ef24d6c626368b8d49866 Mon Sep 17 00:00:00 2001 From: John Maguire Date: Sun, 1 Aug 2010 17:38:58 +0000 Subject: [PATCH] Remove debug + Mac typo. --- src/devices/ilister.cpp | 6 ------ src/devices/macdevicelister.mm | 2 +- 2 files changed, 1 insertion(+), 7 deletions(-) diff --git a/src/devices/ilister.cpp b/src/devices/ilister.cpp index fbf706031..bfea02fcf 100644 --- a/src/devices/ilister.cpp +++ b/src/devices/ilister.cpp @@ -15,8 +15,6 @@ void iLister::Init() { } void iLister::EventCallback(const idevice_event_t* event, void* context) { - qDebug() << Q_FUNC_INFO; - iLister* me = reinterpret_cast(context); 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) { - qDebug() << Q_FUNC_INFO; - DeviceInfo info = ReadDeviceInfo(uuid); QString id = UniqueId(uuid); @@ -48,8 +44,6 @@ void iLister::DeviceAddedCallback(const char* uuid) { } void iLister::DeviceRemovedCallback(const char* uuid) { - qDebug() << Q_FUNC_INFO; - QString id = UniqueId(uuid); { QMutexLocker l(&mutex_); diff --git a/src/devices/macdevicelister.mm b/src/devices/macdevicelister.mm index 02f00e318..669822c84 100644 --- a/src/devices/macdevicelister.mm +++ b/src/devices/macdevicelister.mm @@ -237,7 +237,7 @@ QString MacDeviceLister::MakeFriendlyName(const QString& serial) { return vendor + " " + product; } -QList MacDeviceLister::MakeDeviceUrsl(const QString& serial) { +QList MacDeviceLister::MakeDeviceUrls(const QString& serial) { QString bsd_name = current_devices_[serial]; DASessionRef session = DASessionCreate(kCFAllocatorDefault); DADiskRef disk = DADiskCreateFromBSDName(