Fix Qt5 Builds

This commit is contained in:
Zach Halpern 2024-11-25 21:15:57 -05:00 committed by ZeldaZach
parent 80228957d1
commit f856bc30c5
No known key found for this signature in database

View file

@ -67,7 +67,11 @@ void PrintingSelectorCardOverlayWidget::resizeEvent(QResizeEvent *event)
resize(cardInfoPicture->size());
}
#if QT_VERSION >= QT_VERSION_CHECK(6, 0, 0)
void PrintingSelectorCardOverlayWidget::enterEvent(QEnterEvent *event)
#else
void CardInfoPictPrintingSelectorCardOverlayWidget::enterEvent(QEvent *event)
#endif
{
QWidget::enterEvent(event);
allZonesCardAmountWidget->setVisible(true);