diff options
author | Arno <arno@disconnect.de> | 2015-06-06 14:16:32 +0200 |
---|---|---|
committer | Arno <arno@disconnect.de> | 2015-06-06 14:16:32 +0200 |
commit | 7ffee99071517f5f5533f067850e732efe171991 (patch) | |
tree | 56df5d31247e7dc88c531678540cbf3d91df7cc4 /smdialog.cpp | |
parent | 230feb71ce37cd6797e94247fab463841c7637cf (diff) | |
download | SheMov-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.cpp | 6 |
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; |