QT_VERSION <6.0

This commit is contained in:
tooomm 2026-03-29 19:31:05 +02:00
parent d47619e21d
commit 5669e81f62
37 changed files with 7 additions and 258 deletions

View file

@ -64,11 +64,7 @@ QSize CloseButton::sizeHint() const
return {width, height};
}
#if (QT_VERSION >= QT_VERSION_CHECK(6, 0, 0))
void CloseButton::enterEvent(QEnterEvent *event)
#else
void CloseButton::enterEvent(QEvent *event)
#endif
{
update();
QAbstractButton::enterEvent(event);