Commit f588c704 authored by David Jarvie's avatar David Jarvie
Browse files

Show calendars sorted by name in calendars list

parent 3be068a0
KAlarm Change Log
=== Version 2.15.0 --- 17 April 2020 ===
=== Version 2.15.0 --- 23 April 2020 ===
+ Enable selection of multiple calendar files in Import Alarms dialogue.
+ Show alarm calendars sorted by name in calendars list.
+ Refactor AlarmCalendar to split out resources and display calendars.
=== Version 2.14.0 (KDE Applications 20.04) --- 27 March 2020 ===
......
......@@ -463,6 +463,7 @@ ResourceFilterCheckListModel::ResourceFilterCheckListModel(QObject* parent)
: QSortFilterProxyModel(parent)
{
setDynamicSortFilter(true);
setSortCaseSensitivity(Qt::CaseInsensitive);
}
void ResourceFilterCheckListModel::init()
......@@ -606,6 +607,7 @@ ResourceView::ResourceView(ResourceFilterCheckListModel* model, QWidget* parent)
: QListView(parent)
{
setModel(model);
model->sort(0, Qt::AscendingOrder);
}
ResourceFilterCheckListModel* ResourceView::resourceModel() const
......
Markdown is supported
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