Commit fc43d603 authored by Christophe Courtaut's avatar Christophe Courtaut
Browse files

Switch back to QDirModel to view all folders.

parent cf2ede66
......@@ -43,7 +43,7 @@ ImportController::ImportController(QWidget *parent) :
m_stackNav = new StackViewController( m_ui->stackViewContainer, false );
m_mediaListController = new ImportMediaListController( m_stackNav );
m_tag = new TagWidget( m_ui->tagContainer, 6 );
m_filesModel = new QFileSystemModel();
m_filesModel = new QDirModel();
m_stackNav->pushViewController( m_mediaListController );
QStringList filters;
......
......@@ -38,7 +38,7 @@
#include "TagWidget.h"
#include <QDialog>
#include <QFileSystemModel>
#include <QDirModel>
#include <QFileSystemWatcher>
namespace Ui
......@@ -73,7 +73,7 @@ class ImportController : public QDialog
TagWidget* m_tag;
ImportMediaListController* m_mediaListController;
ImportMediaListController* m_clipListController;
QFileSystemModel* m_filesModel;
QDirModel* m_filesModel;
QFileSystemWatcher* m_fsWatcher;
QString m_currentlyWatchedDir;
QUuid m_currentUuid;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment