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 /shemov.cpp | |
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 'shemov.cpp')
-rw-r--r-- | shemov.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -298,6 +298,7 @@ void SheMov::newMovieWizardWithFiles(){ return; } mNewMovieWizard->restart(); + mNewMovieWizard->infoPage()->setCurrentDir(mFSWidget->currentDir()); foreach(QModelIndex sel, selected){ mNewMovieWizard->infoPage()->addFile(sel.data(SmDirModel::FullPathRole).toString()); } @@ -310,6 +311,7 @@ void SheMov::newMovieWizardWithFiles(){ mNewMovieWizard->infoPage()->addFile(fi.absoluteFilePath()); } } + mNewMovieWizard->infoPage()->selectFirst(); mNewMovieWizard->show(); } |