diff options
Diffstat (limited to 'smdialog.cpp')
-rw-r--r-- | smdialog.cpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/smdialog.cpp b/smdialog.cpp new file mode 100644 index 0000000..064474c --- /dev/null +++ b/smdialog.cpp @@ -0,0 +1,15 @@ +/* + This program is free software; you can redistribute it and/or + modify it under the terms of the GNU General Public License + as published by the Free Software Foundation; either version + 2 of the License, or (at your option) any later version. +*/ + +#include "smdialog.h" +#include "helper.h" + +SmDialog::SmDialog(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f) {} + +void SmDialog::showEvent(QShowEvent *){ + Helper::centerWidget(this); +} |