summaryrefslogtreecommitdiffstats
path: root/qt-ui
diff options
context:
space:
mode:
authorGravatar Tomaz Canabrava <tcanabrava@kde.org>2014-01-15 12:58:17 -0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2014-01-16 10:12:30 +0700
commit74cb7d6b2a666ccbaef5177ceeb40ac182a33a56 (patch)
tree2f61d12c9ca00105a10a65155dc3d024e60ab2be /qt-ui
parentff49cb192956ed1dcfe8571fa9e7e39690963c71 (diff)
downloadsubsurface-74cb7d6b2a666ccbaef5177ceeb40ac182a33a56.tar.gz
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 <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'qt-ui')
-rw-r--r--qt-ui/profile/profilewidget2.cpp5
-rw-r--r--qt-ui/profile/profilewidget2.h1
2 files changed, 0 insertions, 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();