Fix QWidget::enterEvent with Qt 6
This commit is contained in:
@@ -342,7 +342,11 @@ void VolumeSlider::paintEvent(QPaintEvent*) {
|
||||
|
||||
}
|
||||
|
||||
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
|
||||
void VolumeSlider::enterEvent(QEnterEvent*) {
|
||||
#else
|
||||
void VolumeSlider::enterEvent(QEvent*) {
|
||||
#endif
|
||||
|
||||
m_animEnter = true;
|
||||
m_animCount = 0;
|
||||
|
||||
Reference in New Issue
Block a user