VirtualBox

Changeset 107302 in vbox


Ignore:
Timestamp:
Dec 12, 2024 2:50:03 PM (5 weeks ago)
Author:
vboxsync
Message:

FE/Qt: bugref:10814: VBox Manager: Few fixes for Machine Manager constructor, s.a. r166332.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/manager
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIMachineManagerWidget.cpp

    r107301 r107302  
    4040#include "UILoggingDefs.h"
    4141#include "UINotificationCenter.h"
     42#include "UIToolPaneGlobal.h"
    4243#include "UIToolPaneMachine.h"
    4344#include "UITools.h"
     
    4849
    4950
    50 UIMachineManagerWidget::UIMachineManagerWidget(UIToolPaneMachine *pParent)
    51     : m_pActionPool(pParent->actionPool())
     51UIMachineManagerWidget::UIMachineManagerWidget(UIToolPaneGlobal *pParent, UIActionPool *pActionPool)
     52    : QWidget(pParent)
     53    , m_pActionPool(pActionPool)
    5254    , m_pSplitter(0)
    5355    , m_pPaneChooser(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/manager/UIMachineManagerWidget.h

    r107301 r107302  
    4444class UIActionPool;
    4545class UIChooser;
     46class UIToolPaneGlobal;
    4647class UIToolPaneMachine;
    4748class UITools;
     
    122123public:
    123124
    124     /** Constructs Virtual Machine Manager widget. */
    125     UIMachineManagerWidget(UIToolPaneMachine *pParent);
     125    /** Constructs Virtual Machine Manager widget passing @a pParent to the base-class.
     126      * @param  pActionPool  Brings the action-pool reference. */
     127    UIMachineManagerWidget(UIToolPaneGlobal *pParent, UIActionPool *pActionPool);
    126128    /** Destructs Virtual Machine Manager widget. */
    127129    virtual ~UIMachineManagerWidget() RT_OVERRIDE;
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