From 3420ab17bbaf0f6cf83c604ace3b6d9dea2f46cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20Gr=C3=A4=C3=9Flin?= Date: Wed, 11 Jun 2014 08:32:21 +0200 Subject: [PATCH] [kcmkwin/compositing] Don't load the EffectsModel twice The model gets initialized from the ::load method, no need to do it from ctor as well. --- kcmkwin/kwincompositing/model.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/kcmkwin/kwincompositing/model.cpp b/kcmkwin/kwincompositing/model.cpp index d18410b816..6eed680824 100644 --- a/kcmkwin/kwincompositing/model.cpp +++ b/kcmkwin/kwincompositing/model.cpp @@ -82,8 +82,6 @@ static QString translatedCategory(const QString &category) EffectModel::EffectModel(QObject *parent) : QAbstractItemModel(parent) { - - loadEffects(); } QHash< int, QByteArray > EffectModel::roleNames() const