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 /filesystemwidget.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 'filesystemwidget.cpp')
-rw-r--r-- | filesystemwidget.cpp | 4 |
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()){ |