diff options
author | Arno <am@disconnect.de> | 2015-02-14 16:34:02 +0100 |
---|---|---|
committer | Arno <am@disconnect.de> | 2015-02-14 16:34:02 +0100 |
commit | afdb93e180808af02995053eb973d593a3545d55 (patch) | |
tree | 93a23ab7f847b5d51098c244253d27b304118075 /newmoviewizard.h | |
parent | 61345c3d52ab2e5d8243596e9368753477180968 (diff) | |
download | SheMov-afdb93e180808af02995053eb973d593a3545d55.tar.gz SheMov-afdb93e180808af02995053eb973d593a3545d55.tar.bz2 SheMov-afdb93e180808af02995053eb973d593a3545d55.zip |
Center QFileDialog
Center Filedialog in NewMovieWizard::infoPage when adding source files.
Also switch to the directory from FSWidget.
Diffstat (limited to 'newmoviewizard.h')
-rw-r--r-- | newmoviewizard.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/newmoviewizard.h b/newmoviewizard.h index af185ae..b65551b 100644 --- a/newmoviewizard.h +++ b/newmoviewizard.h @@ -55,6 +55,8 @@ class MovieInfoPage : public QWizardPage { WizardTreeModel *model() { return mFileModel; } virtual void initializePage(); void addFile(const QString &file); + void setCurrentDir(const QString &dir) { mCurrentDir = dir; } + void selectFirst(); public slots: void initCompleters(); @@ -80,6 +82,7 @@ class MovieInfoPage : public QWizardPage { QCompleter *mSeriesCompleter; QStringListModel *mSeriesCompleterModel; QSortFilterProxyModel *mProxy; + QString mCurrentDir; }; class MovieMappingPage : public QWizardPage { |