VirtualBox

Ignore:
Timestamp:
May 8, 2014 4:13:00 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: 6660: Advanced extra-data management framework: Integrate GUI_UpdateDate, GUI_UpdateCheckCount.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsUpdate.cpp

    r47134 r51216  
    2020/* GUI includes: */
    2121#include "UIGlobalSettingsUpdate.h"
     22#include "UIExtraDataManager.h"
    2223#include "VBoxGlobal.h"
    2324
     
    4849
    4950    /* Fill internal variables with corresponding values: */
    50     VBoxUpdateData updateData(vboxGlobal().virtualBox().GetExtraData(GUI_UpdateDate));
     51    VBoxUpdateData updateData(gEDataManager->applicationUpdateData());
    5152    m_cache.m_fCheckEnabled = !updateData.isNoNeedToCheck();
    5253    m_cache.m_periodIndex = updateData.periodIndex();
     
    103104    /* Gather corresponding values from internal variables: */
    104105    VBoxUpdateData newData(m_cache.m_periodIndex, m_cache.m_branchIndex);
    105     vboxGlobal().virtualBox().SetExtraData(GUI_UpdateDate, newData.data());
     106    gEDataManager->setApplicationUpdateData(newData.data());
    106107
    107108    /* Upload properties & settings to data: */
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette