[RAPPS] Speed up installed application loading

Only load in details when we are going to display them
This commit is contained in:
Mark Jansen 2021-10-03 20:35:13 +02:00
parent 0ed04e3640
commit 143b2a5035
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B
7 changed files with 149 additions and 180 deletions

View file

@ -1030,12 +1030,12 @@ BOOL DownloadListOfApplications(const ATL::CSimpleArray<CAvailableApplicationInf
return TRUE;
}
BOOL DownloadApplication(CAvailableApplicationInfo* pAppInfo, BOOL bIsModal)
BOOL DownloadApplication(CAvailableApplicationInfo* pAppInfo)
{
if (!pAppInfo)
return FALSE;
CDownloadManager::Download(*pAppInfo, bIsModal);
CDownloadManager::Download(*pAppInfo, FALSE);
return TRUE;
}