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.h | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'smdialog.h') diff --git a/smdialog.h b/smdialog.h index 6d1c9fb..2f0fb16 100644 --- a/smdialog.h +++ b/smdialog.h @@ -20,10 +20,7 @@ class Unpacker; class SmDialog : public QDialog { Q_OBJECT public: - explicit SmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0); - - protected: - virtual void showEvent(QShowEvent *); + explicit SmDialog(QWidget *parent = 0, Qt::WindowFlags f = 0) : QDialog(parent, f) {} }; class SeriesPartsDialog : public SmDialog { -- cgit v1.2.3-70-g09d2