mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-01-29 01:39:19 +00:00
Fix conference list crash on Windows
This commit is contained in:
parent
93021ec567
commit
d4d07ff7ab
3 changed files with 4 additions and 7 deletions
|
|
@ -59,5 +59,7 @@ bool ConferenceInfoProxyListModel::filterAcceptsRow (int sourceRow, const QModel
|
|||
}
|
||||
|
||||
bool ConferenceInfoProxyListModel::lessThan (const QModelIndex &left, const QModelIndex &right) const {
|
||||
return true;
|
||||
}
|
||||
const ConferenceInfoModel* a = sourceModel()->data(left).value<ConferenceInfoModel*>();
|
||||
const ConferenceInfoModel* b = sourceModel()->data(right).value<ConferenceInfoModel*>();
|
||||
return a->getDateTimeUtc() < b->getDateTimeUtc();
|
||||
}
|
||||
|
|
|
|||
|
|
@ -61,7 +61,3 @@ bool ConferenceInfoProxyModel::filterAcceptsRow (int sourceRow, const QModelInde
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
bool ConferenceInfoProxyModel::lessThan (const QModelIndex &left, const QModelIndex &right) const {
|
||||
return true;
|
||||
}
|
||||
|
|
@ -52,7 +52,6 @@ public:
|
|||
|
||||
protected:
|
||||
bool filterAcceptsRow (int sourceRow, const QModelIndex &sourceParent) const override;
|
||||
bool lessThan (const QModelIndex &left, const QModelIndex &right) const override;
|
||||
|
||||
private:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue