Commit b0e137f0 authored by Daniel Teske's avatar Daniel Teske

FolderNavigationView: Fix keyboard activation on OS X

Change-Id: I1025b7a7fcb7491c2ee8dc989801813f522fe78f
Reviewed-by: default avatarEike Ziller <eike.ziller@digia.com>
parent e8db9e97
......@@ -46,13 +46,13 @@
#include <utils/pathchooser.h>
#include <utils/qtcassert.h>
#include <utils/elidinglabel.h>
#include <utils/itemviews.h>
#include <QDebug>
#include <QSize>
#include <QFileSystemModel>
#include <QVBoxLayout>
#include <QToolButton>
#include <QListView>
#include <QSortFilterProxyModel>
#include <QAction>
#include <QMenu>
......@@ -115,7 +115,7 @@ QVariant FolderNavigationModel::data(const QModelIndex &index, int role) const
*/
FolderNavigationWidget::FolderNavigationWidget(QWidget *parent)
: QWidget(parent),
m_listView(new QListView(this)),
m_listView(new Utils::ListView(this)),
m_fileSystemModel(new FolderNavigationModel(this)),
m_filterHiddenFilesAction(new QAction(tr("Show Hidden Files"), this)),
m_filterModel(new DotRemovalFilter(this)),
......
......@@ -34,9 +34,10 @@
#include <QWidget>
namespace Utils { class ListView; }
QT_BEGIN_NAMESPACE
class QLabel;
class QListView;
class QSortFilterProxyModel;
class QModelIndex;
class QFileSystemModel;
......@@ -82,7 +83,7 @@ private:
QModelIndex currentItem() const;
QString currentDirectory() const;
QListView *m_listView;
Utils::ListView *m_listView;
QFileSystemModel *m_fileSystemModel;
QAction *m_filterHiddenFilesAction;
QSortFilterProxyModel *m_filterModel;
......
Markdown is supported
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