swap setupbindings and setTranslationDomain
This commit is contained in:
parent
f457c5254a
commit
549fb7ce51
@ -174,8 +174,8 @@ View::View(Plasma::Corona *corona, QWindow *parent)
|
|||||||
KDeclarative::KDeclarative kdeclarative;
|
KDeclarative::KDeclarative kdeclarative;
|
||||||
kdeclarative.setDeclarativeEngine(engine());
|
kdeclarative.setDeclarativeEngine(engine());
|
||||||
//binds things like kconfig and icons
|
//binds things like kconfig and icons
|
||||||
kdeclarative.setupBindings();
|
|
||||||
kdeclarative.setTranslationDomain(corona->package().metadata().pluginName());
|
kdeclarative.setTranslationDomain(corona->package().metadata().pluginName());
|
||||||
|
kdeclarative.setupBindings();
|
||||||
} else {
|
} else {
|
||||||
qWarning() << "Invalid home screen package";
|
qWarning() << "Invalid home screen package";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user