Commit 965998ff authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

GIT_SILENT: Port deprecated QSet::toList method

parent 67e65fb2
......@@ -127,7 +127,7 @@ void PimCalendarsModel::saveConfig()
auto config = KSharedConfig::openConfig();
auto group = config->group("PIMEventsPlugin");
auto savedList = group.readEntry("calendars", QList<qint64>());
auto currentList = mEnabledCalendars.toList();
auto currentList = mEnabledCalendars.values();
std::sort(savedList.begin(), savedList.end());
std::sort(currentList.begin(), currentList.end());
......
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