~mterry/+junk/u8.2

« back to all changes in this revision

Viewing changes to tests/plugins/Utils/qsortfilterproxymodeltest.cpp

  • Committer: Michael Terry
  • Date: 2014-11-17 14:56:04 UTC
  • mfrom: (1317.1.118 unity8)
  • Revision ID: michael.terry@canonical.com-20141117145604-96dn9p5nwkifq2f4
MergeĀ fromĀ trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
64
64
    bool insertRows(int row, int count, const QModelIndex &parent=QModelIndex()) {
65
65
        beginInsertRows(parent, row, row+count-1);
66
66
        for (int i=0; i<count; i++) {
67
 
            m_list.insert(i+row, "test"+i);
 
67
            m_list.insert(i+row, QString("test%1").arg(i));
68
68
        }
69
69
        endInsertRows();
70
70
        return true;