From 74cb7d6b2a666ccbaef5177ceeb40ac182a33a56 Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Wed, 15 Jan 2014 12:58:17 -0200 Subject: Aparrently there's no need for a showEvent here. Just removed some code that I tougth to use, but it looks like it's just a waste of lines. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- qt-ui/profile/profilewidget2.cpp | 5 ----- qt-ui/profile/profilewidget2.h | 1 - 2 files changed, 6 deletions(-) diff --git a/qt-ui/profile/profilewidget2.cpp b/qt-ui/profile/profilewidget2.cpp index 3ec88e320..9fbcb9a24 100644 --- a/qt-ui/profile/profilewidget2.cpp +++ b/qt-ui/profile/profilewidget2.cpp @@ -215,8 +215,3 @@ void ProfileWidget2::fixBackgroundPos() bg->setPixmap(p); bg->setX(mapToScene(x, 0).x()); } - -void ProfileWidget2::showEvent(QShowEvent* event) -{ - -} \ No newline at end of file diff --git a/qt-ui/profile/profilewidget2.h b/qt-ui/profile/profilewidget2.h index 0a5ec4855..eaad66f73 100644 --- a/qt-ui/profile/profilewidget2.h +++ b/qt-ui/profile/profilewidget2.h @@ -39,7 +39,6 @@ public slots: // Necessary to call from QAction's signals. protected: virtual void contextMenuEvent(QContextMenuEvent* event); virtual void resizeEvent(QResizeEvent* event); - virtual void showEvent(QShowEvent* event); signals: void startProfileState(); -- cgit v1.2.3-70-g09d2