QmlDesigner: Fix build

Change-Id: I115d67c2ec1f1d9ef23eca57768eafa4f7656bb3
Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
Christian Stenger
2017-02-28 15:27:05 +01:00
committed by Tim Jenssen
parent 68b1859f58
commit 0912df9998
2 changed files with 2 additions and 2 deletions

View File

@@ -31,6 +31,7 @@
#include <QDirIterator>
#include <QFileIconProvider>
#include <QFileSystemModel>
#include <QFont>
#include <QImageReader>
namespace QmlDesigner {
@@ -185,7 +186,6 @@ void CustomFileSystemModel::setSearchFilter(const QString &nameFilterList)
QModelIndex CustomFileSystemModel::fileSystemModelIndex(const QModelIndex &index) const
{
const int row = index.row();
const int column = index.column();
return m_fileSystemModel->index(m_files.at(row));
}

View File

@@ -27,11 +27,11 @@
#include <QAbstractTableModel>
#include <QDir>
#include <QFileSystemModel>
#include <memory>
QT_BEGIN_NAMESPACE
class QFileSystemModel;
class QFileIconProvider;
QT_END_NAMESPACE