mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-22 21:15:55 +03:00
Use QEnterEvent for new enterEvent parameters
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
This commit is contained in:
parent
7e1448bcf2
commit
7a17a51a25
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ void LinkLabel::setUrl(const QUrl &url)
|
|||
this->url = url;
|
||||
}
|
||||
|
||||
void LinkLabel::enterEvent(QEvent * /*event*/)
|
||||
void LinkLabel::enterEvent(QEnterEvent * /*event*/)
|
||||
{
|
||||
setFontUnderline(true);
|
||||
setCursor(Qt::PointingHandCursor);
|
||||
|
|
|
@ -31,7 +31,7 @@ signals:
|
|||
void clicked();
|
||||
|
||||
protected:
|
||||
void enterEvent(QEvent *event) override;
|
||||
void enterEvent(QEnterEvent *event) override;
|
||||
|
||||
void leaveEvent(QEvent *event) override;
|
||||
|
||||
|
|
Loading…
Reference in a new issue