mirror of
https://github.com/iDescriptor/iDescriptor.git
synced 2026-06-22 03:45:51 +08:00
bug fixes
- update app icon fetching to use QNetworkAccessManager - fix App icon label dangling pointer - check updates if autocheckupdates is enabled
This commit is contained in:
+4
-3
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
#include <QDebug>
|
||||
#include <QImage>
|
||||
#include <QNetworkAccessManager>
|
||||
#include <QtCore/QObject>
|
||||
#include <libimobiledevice/afc.h>
|
||||
#include <libimobiledevice/installation_proxy.h>
|
||||
@@ -375,9 +376,9 @@ void get_battery_info(std::string productType, idevice_t idevice,
|
||||
void parseOldDeviceBattery(PlistNavigator &ioreg, DeviceInfo &d);
|
||||
void parseDeviceBattery(PlistNavigator &ioreg, DeviceInfo &d);
|
||||
|
||||
void fetchAppIconFromApple(const QString &bundleId,
|
||||
std::function<void(const QPixmap &)> callback,
|
||||
QObject *context);
|
||||
void fetchAppIconFromApple(QNetworkAccessManager *manager,
|
||||
const QString &bundleId,
|
||||
std::function<void(const QPixmap &)> callback);
|
||||
|
||||
afc_error_t afc2_client_new(idevice_t device, afc_client_t *afc);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user