Commit f6278997 authored by Brett Stottlemyer's avatar Brett Stottlemyer
Browse files

Remove unused code


Also fixes coverity issue

Coverity-Id: 172061
Change-Id: Ic5d14efd878103fc105b7130d84aa068a85394e8
Reviewed-by: default avatarContinuous Integration (KDAB) <build@kdab.com>
Reviewed-by: default avatarMichael Brasser <michael.brasser@live.com>
Showing with 0 additions and 18 deletions
......@@ -43,24 +43,6 @@
#include <QItemSelectionModel>
struct IndexRange
{
IndexRange() {}
IndexRange(const QModelIndex &parent, int startRow, int endRow, int startColumn, int endColumn)
: parent(parent)
, startRow(startRow)
, endRow(endRow)
, startColumn(startColumn)
, endColumn(endColumn)
{}
QModelIndex parent;
int startRow;
int endRow;
int startColumn;
int endColumn;
};
// consider evaluating performance difference with item data
inline QVariantList collectData(const QModelIndex &index, const QAbstractItemModel *model, const QVector<int> &roles)
{
......
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