mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 18:22:35 +00:00
[RAPPS] Speed up installed application loading
Only load in details when we are going to display them
This commit is contained in:
parent
0ed04e3640
commit
143b2a5035
7 changed files with 149 additions and 180 deletions
|
@ -567,7 +567,7 @@ VOID CMainWindow::OnCommand(WPARAM wParam, LPARAM lParam)
|
|||
CAvailableApplicationInfo *FocusedApps = (CAvailableApplicationInfo *)m_ApplicationView->GetFocusedItemData();
|
||||
if (FocusedApps)
|
||||
{
|
||||
if (DownloadApplication(FocusedApps, FALSE))
|
||||
if (DownloadApplication(FocusedApps))
|
||||
{
|
||||
UpdateApplicationsList(-1);
|
||||
}
|
||||
|
@ -782,7 +782,7 @@ BOOL CMainWindow::InstallApplication(CAvailableApplicationInfo *Info)
|
|||
{
|
||||
if (Info)
|
||||
{
|
||||
if (DownloadApplication(Info, FALSE))
|
||||
if (DownloadApplication(Info))
|
||||
{
|
||||
UpdateApplicationsList(-1);
|
||||
return TRUE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue