From 7ffee99071517f5f5533f067850e732efe171991 Mon Sep 17 00:00:00 2001 From: Arno Date: Sat, 6 Jun 2015 14:16:32 +0200 Subject: 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. --- smdialog.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'smdialog.cpp') 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; -- cgit v1.2.3-70-g09d2