mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-22 02:01:08 +07:00
adab30fc81
App Split Tunneling for Windows and Android
13 lines
398 B
C++
13 lines
398 B
C++
#include "installedAppsImageProvider.h"
|
|
|
|
#include "platforms/android/android_controller.h"
|
|
|
|
InstalledAppsImageProvider::InstalledAppsImageProvider() : QQuickImageProvider(QQuickImageProvider::Pixmap)
|
|
{
|
|
}
|
|
|
|
QPixmap InstalledAppsImageProvider::requestPixmap(const QString &id, QSize *size, const QSize &requestedSize)
|
|
{
|
|
return AndroidController::instance()->getAppIcon(id, size, requestedSize);
|
|
}
|