[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:
parent
060c93233e
commit
3420ab17bb
1 changed files with 0 additions and 2 deletions
|
@ -82,8 +82,6 @@ static QString translatedCategory(const QString &category)
|
||||||
|
|
||||||
EffectModel::EffectModel(QObject *parent)
|
EffectModel::EffectModel(QObject *parent)
|
||||||
: QAbstractItemModel(parent) {
|
: QAbstractItemModel(parent) {
|
||||||
|
|
||||||
loadEffects();
|
|
||||||
}
|
}
|
||||||
|
|
||||||
QHash< int, QByteArray > EffectModel::roleNames() const
|
QHash< int, QByteArray > EffectModel::roleNames() const
|
||||||
|
|
Loading…
Reference in a new issue