VirtualBox

Changeset 94715 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Apr 27, 2022 7:46:18 AM (3 years ago)
Author:
vboxsync
Message:

Main/Update check: Use proxy settings from system properties for now by default. See @todo. bugref:7983

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/notificationcenter/UINotificationObjects.cpp

    r94705 r94715  
    5656#include "CRangedIntegerFormValue.h"
    5757#include "CStringFormValue.h"
     58#ifdef VBOX_WITH_UPDATE_AGENT
     59# include "CSystemProperties.h"
     60#endif
    5861#include "CUnattended.h"
    5962#include "CVRDEServer.h"
     
    43204323    CHost comHost = uiCommon().host();
    43214324    if (!comHost.isNull())
     4325    {
    43224326        m_comUpdateHost = comHost.GetUpdateHost();
     4327
     4328        /** @todo For now just grab the proxy settings from the system properties object.
     4329         *        We might want to differentiate this later. */
     4330        const CSystemProperties comProperties = uiCommon().virtualBox().GetSystemProperties();
     4331        m_comUpdateHost.SetProxyMode(comProperties.GetProxyMode());
     4332        m_comUpdateHost.SetProxyURL(comProperties.GetProxyURL());
     4333    }
    43234334#endif /* VBOX_WITH_UPDATE_AGENT */
    43244335}
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