summaryrefslogtreecommitdiffstats
path: root/filesystemwidget.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 /filesystemwidget.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 'filesystemwidget.cpp')
-rw-r--r--filesystemwidget.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/filesystemwidget.cpp b/filesystemwidget.cpp
index ac840bd..2dd8076 100644
--- a/filesystemwidget.cpp
+++ b/filesystemwidget.cpp
@@ -149,6 +149,10 @@ bool FilesystemWidget::isMounted(){
return false;
}
+const QString FilesystemWidget::currentDir() const {
+ return mFileModel->dir().absolutePath();
+}
+
void FilesystemWidget::directoryChanged(const QModelIndex &selected, const QModelIndex &deselected){
QModelIndex real = mDirProxy->mapToSource(selected);
if(!real.isValid()){