diff --git a/clients/plastik/plastikclient.cpp b/clients/plastik/plastikclient.cpp index 955622f670..ec112baa4e 100644 --- a/clients/plastik/plastikclient.cpp +++ b/clients/plastik/plastikclient.cpp @@ -410,12 +410,6 @@ void PlastikClient::paintEvent(QPaintEvent*) } } -void PlastikClient::showEvent(QShowEvent *) -{ - doShape(); - widget()->update(); -} - void PlastikClient::mouseDoubleClickEvent(QMouseEvent *e) { if (titleSpacer_->geometry().contains(e->pos())) diff --git a/clients/plastik/plastikclient.h b/clients/plastik/plastikclient.h index 6da7cd495f..09c3ca6f19 100644 --- a/clients/plastik/plastikclient.h +++ b/clients/plastik/plastikclient.h @@ -56,7 +56,6 @@ public: protected: virtual void resizeEvent(); virtual void paintEvent(QPaintEvent *e); - virtual void showEvent(QShowEvent *); virtual void mouseDoubleClickEvent(QMouseEvent *e); virtual void maximizeChange();