mirror of
https://github.com/feather-wallet/feather.git
synced 2024-11-16 17:27:38 +00:00
Qt6: QEnterEvent
This commit is contained in:
parent
46d2228541
commit
5c1fda7310
2 changed files with 8 additions and 0 deletions
|
@ -89,7 +89,11 @@ void HelpLabel::mouseReleaseEvent(QMouseEvent *event)
|
|||
QMessageBox::information(this, "Help", this->help_text);
|
||||
}
|
||||
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
void HelpLabel::enterEvent(QEvent *event)
|
||||
#else
|
||||
void HelpLabel::enterEvent(QEnterEvent *event)
|
||||
#endif
|
||||
{
|
||||
font.setUnderline(true);
|
||||
setFont(font);
|
||||
|
|
|
@ -102,7 +102,11 @@ public:
|
|||
|
||||
protected:
|
||||
void mouseReleaseEvent(QMouseEvent *event) override;
|
||||
#if QT_VERSION < QT_VERSION_CHECK(6, 0, 0)
|
||||
void enterEvent(QEvent *event) override;
|
||||
#else
|
||||
void enterEvent(QEnterEvent *event) override;
|
||||
#endif
|
||||
void leaveEvent(QEvent *event) override;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue