~mterry/unity8/power-button-on-lock

« back to all changes in this revision

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

  • Committer: Michael Terry
  • Date: 2014-11-24 15:25:42 UTC
  • mfrom: (1368.1.82 unity8)
  • Revision ID: michael.terry@canonical.com-20141124152542-5cysva8ds3qfula6
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;