[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.
This commit is contained in:
Martin Gräßlin 2014-06-11 08:32:21 +02:00
parent 060c93233e
commit 3420ab17bb

View file

@ -82,8 +82,6 @@ static QString translatedCategory(const QString &category)
EffectModel::EffectModel(QObject *parent)
: QAbstractItemModel(parent) {
loadEffects();
}
QHash< int, QByteArray > EffectModel::roleNames() const