Changeset 97860 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Dec 23, 2022 2:56:37 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/widgets/UITabBar.cpp
r97849 r97860 612 612 /* Make sure button is hovered: */ 613 613 if (!m_fHovered) 614 { 615 #ifdef VBOX_IS_QT6_OR_LATER /** @todo qt6: Code duplication of enterEvent; split out in separate method (complete wast of time to cook up a QEnterEvent here). */ 616 # ifdef VBOX_WS_MAC 617 m_pLayoutStacked->setCurrentWidget(m_pButtonClose); 618 # endif 619 m_fHovered = true; 620 /* And call for repaint: */ 621 update(); 622 RT_NOREF(pEvent); 623 return; 624 #else 625 return QWidget::enterEvent(pEvent); 626 #endif 627 } 614 return QWidget::leaveEvent(pEvent); 628 615 629 616 /* Invert hovered state: */
Note:
See TracChangeset
for help on using the changeset viewer.