1
mirror of https://invent.kde.org/network/falkon.git synced 2024-11-14 02:52:12 +01:00

Merge pull request #619 from ff2000/master

remove CloseButton::hideEvent()
This commit is contained in:
David Rosca 2012-10-24 23:50:10 -07:00
commit af7a85913e
2 changed files with 0 additions and 10 deletions

View File

@ -647,15 +647,6 @@ void CloseButton::leaveEvent(QEvent* event)
QAbstractButton::leaveEvent(event); QAbstractButton::leaveEvent(event);
} }
void CloseButton::hideEvent(QHideEvent* event)
{
QAbstractButton::hideEvent(event);
if (!isVisible()) {
deleteLater();
}
}
void CloseButton::paintEvent(QPaintEvent*) void CloseButton::paintEvent(QPaintEvent*)
{ {
QPainter p(this); QPainter p(this);

View File

@ -128,7 +128,6 @@ public:
void enterEvent(QEvent* event); void enterEvent(QEvent* event);
void leaveEvent(QEvent* event); void leaveEvent(QEvent* event);
void hideEvent(QHideEvent* event);
void paintEvent(QPaintEvent* event); void paintEvent(QPaintEvent* event);
}; };