summaryrefslogtreecommitdiffstats
path: root/shemov.cpp
diff options
context:
space:
mode:
authorArno <am@disconnect.de>2015-02-14 16:34:02 +0100
committerArno <am@disconnect.de>2015-02-14 16:34:02 +0100
commitafdb93e180808af02995053eb973d593a3545d55 (patch)
tree93a23ab7f847b5d51098c244253d27b304118075 /shemov.cpp
parent61345c3d52ab2e5d8243596e9368753477180968 (diff)
downloadSheMov-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.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/shemov.cpp b/shemov.cpp
index c56ed58..74352b0 100644
--- a/shemov.cpp
+++ b/shemov.cpp
@@ -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();
}