VirtualBox

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


Ignore:
Timestamp:
Nov 29, 2021 12:01:38 PM (3 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
148516
Message:

FE/Qt: bugref:10067: UICloudNetworkingStuff: Fixing regression crash in r148020; Parent should present for stuff handling progress synchronously.

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudNetworkingStuff.cpp

    r92191 r92624  
    336336                                             CStringArray &comNames,
    337337                                             CStringArray &comIDs,
    338                                              UINotificationCenter *pParent /* = 0 */)
     338                                             UINotificationCenter *pParent)
    339339{
    340340    /* Currently we are interested in Available images only: */
     
    365365                                                        CStringArray &comNames,
    366366                                                        CStringArray &comIDs,
    367                                                         UINotificationCenter *pParent /* = 0 */)
     367                                                        UINotificationCenter *pParent)
    368368{
    369369    /* List cloud source boot volumes: */
     
    390390                                                CStringArray &comNames,
    391391                                                CStringArray &comIDs,
    392                                                 UINotificationCenter *pParent /* = 0 */)
     392                                                UINotificationCenter *pParent)
    393393{
    394394    /* List cloud instances: */
     
    415415                                                      CStringArray &comNames,
    416416                                                      CStringArray &comIDs,
    417                                                       UINotificationCenter *pParent /* = 0 */)
     417                                                      UINotificationCenter *pParent)
    418418{
    419419    /* List cloud source instances: */
     
    440440                                                   const CVirtualSystemDescription &comDescription,
    441441                                                   CVirtualSystemDescriptionForm &comResult,
    442                                                    UINotificationCenter *pParent /* = 0 */)
     442                                                   UINotificationCenter *pParent)
    443443{
    444444    /* Prepare export VSD form: */
     
    461461                                                   const CVirtualSystemDescription &comDescription,
    462462                                                   CVirtualSystemDescriptionForm &comResult,
    463                                                    UINotificationCenter *pParent /* = 0 */)
     463                                                   UINotificationCenter *pParent)
    464464{
    465465    /* Prepare import VSD form: */
     
    526526bool UICloudNetworkingStuff::cloudMachineSettingsForm(const CCloudMachine &comCloudMachine,
    527527                                                      CForm &comResult,
    528                                                       UINotificationCenter *pParent /* = 0 */)
     528                                                      UINotificationCenter *pParent)
    529529{
    530530    /* Acquire machine name first: */
     
    581581bool UICloudNetworkingStuff::applyCloudMachineSettingsForm(const CCloudMachine &comCloudMachine,
    582582                                                           const CForm &comForm,
    583                                                            UINotificationCenter *pParent /* = 0 */)
     583                                                           UINotificationCenter *pParent)
    584584{
    585585    /* Acquire machine name first: */
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICloudNetworkingStuff.h

    r92191 r92624  
    118118                                              CStringArray &comNames,
    119119                                              CStringArray &comIDs,
    120                                               UINotificationCenter *pParent = 0);
     120                                              UINotificationCenter *pParent);
    121121    /** Acquires cloud source boot volumes of certain @a comCloudClient, using @a pParent to show messages according to. */
    122122    SHARED_LIBRARY_STUFF bool listCloudSourceBootVolumes(const CCloudClient &comCloudClient,
    123123                                                         CStringArray &comNames,
    124124                                                         CStringArray &comIDs,
    125                                                          UINotificationCenter *pParent = 0);
     125                                                         UINotificationCenter *pParent);
    126126    /** Acquires cloud instances of certain @a comCloudClient, using @a pParent to show messages according to. */
    127127    SHARED_LIBRARY_STUFF bool listCloudInstances(const CCloudClient &comCloudClient,
    128128                                                 CStringArray &comNames,
    129129                                                 CStringArray &comIDs,
    130                                                  UINotificationCenter *pParent = 0);
     130                                                 UINotificationCenter *pParent);
    131131    /** Acquires cloud source instances of certain @a comCloudClient, using @a pParent to show messages according to. */
    132132    SHARED_LIBRARY_STUFF bool listCloudSourceInstances(const CCloudClient &comCloudClient,
    133133                                                       CStringArray &comNames,
    134134                                                       CStringArray &comIDs,
    135                                                        UINotificationCenter *pParent = 0);
     135                                                       UINotificationCenter *pParent);
    136136
    137137    /** Acquires @a comCloudClient export description form as a @a comResult, using @a pParent to show messages according to. */
     
    139139                                                    const CVirtualSystemDescription &comDescription,
    140140                                                    CVirtualSystemDescriptionForm &comResult,
    141                                                     UINotificationCenter *pParent = 0);
     141                                                    UINotificationCenter *pParent);
    142142    /** Acquires @a comCloudClient import description form as a @a comResult, using @a pParent to show messages according to. */
    143143    SHARED_LIBRARY_STUFF bool importDescriptionForm(const CCloudClient &comCloudClient,
    144144                                                    const CVirtualSystemDescription &comDescription,
    145145                                                    CVirtualSystemDescriptionForm &comResult,
    146                                                     UINotificationCenter *pParent = 0);
     146                                                    UINotificationCenter *pParent);
    147147
    148148    /** Acquires @a comCloudMachine ID as a @a uResult, using @a pParent to show messages according to. */
     
    163163    SHARED_LIBRARY_STUFF bool cloudMachineSettingsForm(const CCloudMachine &comCloudMachine,
    164164                                                       CForm &comResult,
    165                                                        UINotificationCenter *pParent = 0);
     165                                                       UINotificationCenter *pParent);
    166166    /** Acquires @a comCloudMachine settings form as a @a comResult, using @a strErrorMessage to store messages to.
    167167      * @note  Be aware, this is a blocking function, it will hang for a time of progress being executed. */
     
    173173    SHARED_LIBRARY_STUFF bool applyCloudMachineSettingsForm(const CCloudMachine &comCloudMachine,
    174174                                                            const CForm &comForm,
    175                                                             UINotificationCenter *pParent = 0);
     175                                                            UINotificationCenter *pParent);
    176176}
    177177
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/details/UIDetailsElement.cpp

    r92397 r92624  
    666666            /* Apply form: */
    667667            CForm comForm = pEditor->form();
    668             applyCloudMachineSettingsForm(comCloudMachine, comForm);
     668            applyCloudMachineSettingsForm(comCloudMachine, comForm, gpNotificationCenter);
    669669        }
    670670
Note: See TracChangeset for help on using the changeset viewer.

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