mirror of
https://github.com/Chatterino/chatterino2.git
synced 2024-11-13 19:49:51 +01:00
Follow-up to d010a7d48b
This commit is contained in:
parent
3757784f73
commit
347a1b9ed6
|
@ -217,7 +217,7 @@ void Button::fancyPaint(QPainter &painter)
|
|||
}
|
||||
}
|
||||
|
||||
void Button::enterEvent(QEvent *)
|
||||
void Button::enterEvent(QEnterEvent *)
|
||||
{
|
||||
this->mouseOver_ = true;
|
||||
}
|
||||
|
|
|
@ -58,7 +58,7 @@ signals:
|
|||
|
||||
protected:
|
||||
virtual void paintEvent(QPaintEvent *) override;
|
||||
virtual void enterEvent(QEvent *) override;
|
||||
virtual void enterEvent(QEnterEvent *) override;
|
||||
virtual void leaveEvent(QEvent *) override;
|
||||
virtual void mousePressEvent(QMouseEvent *event) override;
|
||||
virtual void mouseReleaseEvent(QMouseEvent *event) override;
|
||||
|
|
|
@ -571,7 +571,7 @@ void NotebookTab::mouseDoubleClickEvent(QMouseEvent *event)
|
|||
}
|
||||
}
|
||||
|
||||
void NotebookTab::enterEvent(QEvent *event)
|
||||
void NotebookTab::enterEvent(QEnterEvent *event)
|
||||
{
|
||||
this->mouseOver_ = true;
|
||||
|
||||
|
|
|
@ -62,7 +62,7 @@ protected:
|
|||
virtual void mousePressEvent(QMouseEvent *event) override;
|
||||
virtual void mouseReleaseEvent(QMouseEvent *event) override;
|
||||
virtual void mouseDoubleClickEvent(QMouseEvent *event) override;
|
||||
virtual void enterEvent(QEvent *) override;
|
||||
virtual void enterEvent(QEnterEvent *) override;
|
||||
virtual void leaveEvent(QEvent *) override;
|
||||
|
||||
virtual void dragEnterEvent(QDragEnterEvent *event) override;
|
||||
|
|
|
@ -534,7 +534,7 @@ void Split::resizeEvent(QResizeEvent *event)
|
|||
this->overlay_->setGeometry(this->rect());
|
||||
}
|
||||
|
||||
void Split::enterEvent(QEvent *event)
|
||||
void Split::enterEvent(QEnterEvent *event)
|
||||
{
|
||||
this->isMouseOver_ = true;
|
||||
|
||||
|
|
|
@ -103,7 +103,7 @@ protected:
|
|||
void keyPressEvent(QKeyEvent *event) override;
|
||||
void keyReleaseEvent(QKeyEvent *event) override;
|
||||
void resizeEvent(QResizeEvent *event) override;
|
||||
void enterEvent(QEvent *event) override;
|
||||
void enterEvent(QEnterEvent *event) override;
|
||||
void leaveEvent(QEvent *event) override;
|
||||
void focusInEvent(QFocusEvent *event) override;
|
||||
|
||||
|
|
|
@ -852,7 +852,7 @@ void SplitHeader::mouseDoubleClickEvent(QMouseEvent *event)
|
|||
this->doubleClicked_ = true;
|
||||
}
|
||||
|
||||
void SplitHeader::enterEvent(QEvent *event)
|
||||
void SplitHeader::enterEvent(QEnterEvent *event)
|
||||
{
|
||||
if (!this->tooltipText_.isEmpty())
|
||||
{
|
||||
|
|
|
@ -41,7 +41,7 @@ protected:
|
|||
virtual void mousePressEvent(QMouseEvent *event) override;
|
||||
virtual void mouseReleaseEvent(QMouseEvent *event) override;
|
||||
virtual void mouseMoveEvent(QMouseEvent *event) override;
|
||||
virtual void enterEvent(QEvent *) override;
|
||||
virtual void enterEvent(QEnterEvent *) override;
|
||||
virtual void leaveEvent(QEvent *event) override;
|
||||
virtual void mouseDoubleClickEvent(QMouseEvent *event) override;
|
||||
|
||||
|
|
Loading…
Reference in a new issue