Fix macos build

This commit is contained in:
Jonas Kvinge
2019-01-02 00:32:36 +01:00
parent 45c4be3ae9
commit d398018633
9 changed files with 65 additions and 64 deletions

View File

@@ -81,7 +81,7 @@
# include "ilister.h"
#endif
#if defined(Q_OS_MACOS) and defined(HAVE_LIBMTP)
# include "macdevicelister.h"
# include "macosdevicelister.h"
#endif
#ifdef HAVE_LIBGPOD
# include "gpoddevice.h"
@@ -129,7 +129,7 @@ DeviceManager::DeviceManager(Application *app, QObject *parent)
AddLister(new GioLister);
#endif
#if defined(Q_OS_MACOS) and defined(HAVE_LIBMTP)
AddLister(new MacDeviceLister);
AddLister(new MacOsDeviceLister);
#endif
AddDeviceClass<FilesystemDevice>();