VirtualBox

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


Ignore:
Timestamp:
Jul 29, 2017 11:33:06 AM (7 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:8900: UIToolsToolbar: Some useful initialization missed in r117259.

File:
1 edited

Legend:

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

    r68167 r68171  
    100100    /* Acquire the sender: */
    101101    QIToolButton *pButton = sender() ? qobject_cast<QIToolButton*>(sender()) : 0;
    102     AssertPtrReturnVoid(pButton);
     102    if (!pButton)
     103        pButton = m_mapButtons.value(m_mapButtons.keys().first());
    103104
    104105    /* Handle known buttons: */
     
    123124    /* Prepare connections: */
    124125    prepareConnections();
     126
     127    /* Initialize: */
     128    sltHandleButtonToggle();
    125129}
    126130
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