mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 02:36:34 +01:00
Merge pull request #619 from ff2000/master
remove CloseButton::hideEvent()
This commit is contained in:
commit
af7a85913e
@ -647,15 +647,6 @@ void CloseButton::leaveEvent(QEvent* event)
|
||||
QAbstractButton::leaveEvent(event);
|
||||
}
|
||||
|
||||
void CloseButton::hideEvent(QHideEvent* event)
|
||||
{
|
||||
QAbstractButton::hideEvent(event);
|
||||
|
||||
if (!isVisible()) {
|
||||
deleteLater();
|
||||
}
|
||||
}
|
||||
|
||||
void CloseButton::paintEvent(QPaintEvent*)
|
||||
{
|
||||
QPainter p(this);
|
||||
|
@ -128,7 +128,6 @@ public:
|
||||
|
||||
void enterEvent(QEvent* event);
|
||||
void leaveEvent(QEvent* event);
|
||||
void hideEvent(QHideEvent* event);
|
||||
void paintEvent(QPaintEvent* event);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user