summaryrefslogtreecommitdiffstats
path: root/smdialog.h
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.h
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.h')
-rw-r--r--smdialog.h5
1 files changed, 1 insertions, 4 deletions
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 {