Commit f593d747 authored by Daniel Teske's avatar Daniel Teske

Derive TaskFilterModel from QAbstractItemModel not TaskModel

Change-Id: Ic748ada71e46811a05ced52ea7b1172ad02eb2ee
Reviewed-by: default avatarTobias Hunger <tobias.hunger@nokia.com>
parent 380d2025
......@@ -311,7 +311,7 @@ void TaskModel::setFileNotFound(const QModelIndex &idx, bool b)
// TaskFilterModel
/////
TaskFilterModel::TaskFilterModel(TaskModel *sourceModel, QObject *parent) : TaskModel(parent),
TaskFilterModel::TaskFilterModel(TaskModel *sourceModel, QObject *parent) : QAbstractItemModel(parent),
m_sourceModel(sourceModel)
{
Q_ASSERT(m_sourceModel);
......
......@@ -128,7 +128,7 @@ private:
QFont m_lineMeasurementFont;
};
class TaskFilterModel : public TaskModel
class TaskFilterModel : public QAbstractItemModel
{
Q_OBJECT
......
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