Commit eda4d264 authored by Eike Hein's avatar Eike Hein
Browse files

Fix Recent Applications sorting in Kicker and Dashboard.

Subscribers: plasma-devel

Tags: #plasma

Differential Revision:
parent 2390a4d4
......@@ -97,6 +97,11 @@ bool InvalidAppsFilterProxy::filterAcceptsRow(int source_row, const QModelIndex
return true;
bool InvalidAppsFilterProxy::lessThan(const QModelIndex &left, const QModelIndex &right) const
return (left.row() < right.row());
bool GroupSortProxy::lessThan(const QModelIndex &left, const QModelIndex &right) const
const QString &lResource = sourceModel()->data(left, ResultModel::ResourceRole).toString();
......@@ -47,6 +47,7 @@ class InvalidAppsFilterProxy : public QSortFilterProxyModel
bool filterAcceptsRow(int source_row, const QModelIndex & source_parent) const Q_DECL_OVERRIDE;
bool lessThan(const QModelIndex &left, const QModelIndex &right) const override;
private Q_SLOTS:
void connectNewFavoritesModel();
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