summaryrefslogtreecommitdiffstats
path: root/smdialog.cpp
diff options
context:
space:
mode:
authorArno <arno@disconnect.de>2015-06-06 14:16:32 +0200
committerArno <arno@disconnect.de>2015-06-06 14:16:32 +0200
commit7ffee99071517f5f5533f067850e732efe171991 (patch)
tree56df5d31247e7dc88c531678540cbf3d91df7cc4 /smdialog.cpp
parent230feb71ce37cd6797e94247fab463841c7637cf (diff)
downloadSheMov-7ffee99071517f5f5533f067850e732efe171991.tar.gz
SheMov-7ffee99071517f5f5533f067850e732efe171991.tar.bz2
SheMov-7ffee99071517f5f5533f067850e732efe171991.zip
Get rid of Helper::centerDialog
It's useless if you don't use a tiling window manager. Also, now we have an empty class SmDialog. Didn't replace it yet. Maybe it's useful in the future.
Diffstat (limited to 'smdialog.cpp')
-rw-r--r--smdialog.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/smdialog.cpp b/smdialog.cpp
index 9f168f8..50f26be 100644
--- a/smdialog.cpp
+++ b/smdialog.cpp
@@ -17,12 +17,6 @@
#include "helper.h"
#include "unpacker.h"
-SmDialog::SmDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) {}
-
-void SmDialog::showEvent(QShowEvent *){
- Helper::centerWidget(this);
-}
-
SeriesPartsDialog::SeriesPartsDialog(QWidget *parent, Qt::WindowFlags f) : SmDialog(parent, f){
QFormLayout *mainLayout = new QFormLayout;
mSubtitle = new QLineEdit;