forked from qt-creator/qt-creator
Foldernavigationwidget: Use QFileSystemModel instead of QDirModel.
hoping for better performance. On this occasion, add context menu containing "Open" and "Choose folder" enabling drive changes on Windows. Purge remains of QDirModel elsewhere. Task-number: QTCREATORBUG-62
This commit is contained in:
@@ -36,12 +36,9 @@
|
||||
|
||||
QT_BEGIN_NAMESPACE
|
||||
class QDir;
|
||||
class QDirModel;
|
||||
class QFileInfo;
|
||||
class QListView;
|
||||
class QModelIndex;
|
||||
class QStringList;
|
||||
class QTreeView;
|
||||
QT_END_NAMESPACE
|
||||
|
||||
namespace Utils {
|
||||
@@ -65,15 +62,7 @@ public:
|
||||
QString projectName() const;
|
||||
|
||||
private:
|
||||
int m_secondPageId;
|
||||
|
||||
Utils::FileWizardPage *m_firstPage;
|
||||
|
||||
QTreeView *m_dirView;
|
||||
QDirModel *m_dirModel;
|
||||
|
||||
QListView *m_filesView;
|
||||
QDirModel *m_filesModel;
|
||||
};
|
||||
|
||||
class QmlProjectWizard : public Core::BaseFileWizard
|
||||
|
||||
Reference in New Issue
Block a user