mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-15 19:47:46 -07:00
QT_VERSION <6.0
This commit is contained in:
parent
d47619e21d
commit
5669e81f62
37 changed files with 7 additions and 258 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue