~ci-train-bot/unity8/unity8-ubuntu-zesty-2663

« back to all changes in this revision

Viewing changes to plugins/Utils/appdrawerproxymodel.cpp

  • Committer: Nick Dedekind
  • Date: 2017-02-23 11:02:42 UTC
  • mfrom: (2833.1.1 unity8)
  • mto: This revision was merged to the branch mainline in revision 2892.
  • Revision ID: nick.dedekind@canonical.com-20170223110242-k6oaord2re9nfw33
merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
43
43
        m_source = source;
44
44
        setSourceModel(m_source);
45
45
        setSortRole(m_sortBy == SortByAToZ ? AppDrawerModelInterface::RoleName : AppDrawerModelInterface::RoleUsage);
46
 
        connect(m_source, &QAbstractItemModel::rowsRemoved, this, &AppDrawerProxyModel::invalidateFilter);
47
 
        connect(m_source, &QAbstractItemModel::rowsInserted, this, &AppDrawerProxyModel::invalidateFilter);
 
46
        connect(m_source, &QAbstractItemModel::rowsRemoved, this, &AppDrawerProxyModel::invalidate);
 
47
        connect(m_source, &QAbstractItemModel::rowsInserted, this, &AppDrawerProxyModel::invalidate);
48
48
        Q_EMIT sourceChanged();
49
49
    }
50
50
}