From 85eba24167e2a19b1e45e39af67492ec6fee9813 Mon Sep 17 00:00:00 2001 From: Jonas Kvinge Date: Thu, 24 Jan 2019 19:10:42 +0100 Subject: [PATCH] Add iLister and AFC device --- src/device/devicemanager.cpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/device/devicemanager.cpp b/src/device/devicemanager.cpp index e6f3f5cac..fdfa7cda0 100644 --- a/src/device/devicemanager.cpp +++ b/src/device/devicemanager.cpp @@ -131,6 +131,9 @@ DeviceManager::DeviceManager(Application *app, QObject *parent) #if defined(Q_OS_MACOS) and defined(HAVE_LIBMTP) AddLister(new MacOsDeviceLister); #endif +#ifdef HAVE_IMOBILEDEVICE + AddLister(new iLister); +#endif AddDeviceClass(); @@ -146,6 +149,10 @@ DeviceManager::DeviceManager(Application *app, QObject *parent) AddDeviceClass(); #endif +#ifdef HAVE_IMOBILEDEVICE + AddDeviceClass(); +#endif + } DeviceManager::~DeviceManager() {