From 7c4cb2c00bc6d3ff59b818632eefc2adc2bfade0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20K=C3=BCgler?= Date: Fri, 19 Jun 2015 22:31:50 -0700 Subject: [PATCH] Whoopsie. --- containments/homescreen/applicationlistmodel.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/containments/homescreen/applicationlistmodel.cpp b/containments/homescreen/applicationlistmodel.cpp index 0063359e..3db36498 100644 --- a/containments/homescreen/applicationlistmodel.cpp +++ b/containments/homescreen/applicationlistmodel.cpp @@ -85,7 +85,6 @@ void ApplicationListModel::loadApplications() // I'll remove it once I've done a blacklist QStringList bl; - QStringList blacklist = blgroup.readEntry("blacklist", QStringList()); beginResetModel(); @@ -143,7 +142,7 @@ void ApplicationListModel::loadApplications() } blgroup.writeEntry("allapps", bl); - cfg.sync(); + cfg->sync(); std::sort(unorderedList.begin(), unorderedList.end(), appNameLessThan); m_applicationList << orderedList.values();