Whoopsie.

This commit is contained in:
Sebastian Kügler 2015-06-19 22:31:50 -07:00
parent 6439947d53
commit 7c4cb2c00b

View file

@ -85,7 +85,6 @@ void ApplicationListModel::loadApplications()
// I'll remove it once I've done a blacklist // I'll remove it once I've done a blacklist
QStringList bl; QStringList bl;
QStringList blacklist = blgroup.readEntry("blacklist", QStringList()); QStringList blacklist = blgroup.readEntry("blacklist", QStringList());
beginResetModel(); beginResetModel();
@ -143,7 +142,7 @@ void ApplicationListModel::loadApplications()
} }
blgroup.writeEntry("allapps", bl); blgroup.writeEntry("allapps", bl);
cfg.sync(); cfg->sync();
std::sort(unorderedList.begin(), unorderedList.end(), appNameLessThan); std::sort(unorderedList.begin(), unorderedList.end(), appNameLessThan);
m_applicationList << orderedList.values(); m_applicationList << orderedList.values();