VirtualBox

Changeset 68195 in vbox


Ignore:
Timestamp:
Jul 31, 2017 11:59:01 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
117292
Message:

FE/Qt: bugref:8900: Allow to create desktop pane with no action passed, required for embedding it into Global Tools pane.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIDesktopPane.cpp

    r68157 r68195  
    9595    , m_pRefreshButton(0), m_pRefreshAction(pRefreshAction)
    9696{
    97     /* Make sure refresh action was passed: */
    98     AssertMsg(m_pRefreshAction, ("Refresh action was NOT passed!"));
    99 
    10097    /* Translate finally: */
    10198    retranslateUi();
     
    227224*********************************************************************************************************************************/
    228225
    229 UIDesktopPane::UIDesktopPane(QAction *pRefreshAction, QWidget *pParent /* = 0 */)
     226UIDesktopPane::UIDesktopPane(QAction *pRefreshAction /* = 0 */, QWidget *pParent /* = 0 */)
    230227    : QWidget(pParent)
    231228{
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/UIDesktopPane.h

    r68157 r68195  
    3838    /** Constructs desktop pane passing @a pParent to the base-class.
    3939      * @param  pRefreshAction  Brings the refresh action reference. */
    40     UIDesktopPane(QAction *pRefreshAction, QWidget *pParent = 0);
     40    UIDesktopPane(QAction *pRefreshAction = 0, QWidget *pParent = 0);
    4141
    4242    /** Updates @a strText details and switches to text details pane. */
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