summaryrefslogtreecommitdiffstats
path: root/newmoviewizard.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2011-08-17 21:51:25 +0200
committerArno <am@disconnect.de>2011-08-17 21:51:25 +0200
commit6ccb1884dd9e9a57f7b25239097951d77103d331 (patch)
treeada69aa8cca44ea9e1fab9a42ece5dedca77f59f /newmoviewizard.cpp
parent7195badbe2ff943d730f7d79ab183acec8ce26c3 (diff)
downloadSheMov-6ccb1884dd9e9a57f7b25239097951d77103d331.tar.gz
SheMov-6ccb1884dd9e9a57f7b25239097951d77103d331.tar.bz2
SheMov-6ccb1884dd9e9a57f7b25239097951d77103d331.zip
Center NewMovieWizard
Since NewMovieWizard is a QWizard and not a QDialog, this one gets a separate commit.
Diffstat (limited to 'newmoviewizard.cpp')
-rw-r--r--newmoviewizard.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/newmoviewizard.cpp b/newmoviewizard.cpp
index f482d57..8249a0c 100644
--- a/newmoviewizard.cpp
+++ b/newmoviewizard.cpp
@@ -51,6 +51,10 @@ NewMovieWizard::NewMovieWizard(QWidget *parent) : QWizard(parent){
setOption(QWizard::IndependentPages, true);
}
+void NewMovieWizard::showEvent(QShowEvent *){
+ Helper::centerWidget(this);
+}
+
void NewMovieWizard::accept(){
//conjure up models
SeriesTreeModel *seriesModel = static_cast<SeriesTreeModel*>(SmGlobals::instance()->model("SeriesModel"));