swap setupbindings and setTranslationDomain

This commit is contained in:
Marco Martin 2014-06-05 14:50:31 +02:00
parent f457c5254a
commit 549fb7ce51

View File

@ -174,8 +174,8 @@ View::View(Plasma::Corona *corona, QWindow *parent)
KDeclarative::KDeclarative kdeclarative;
kdeclarative.setDeclarativeEngine(engine());
//binds things like kconfig and icons
kdeclarative.setupBindings();
kdeclarative.setTranslationDomain(corona->package().metadata().pluginName());
kdeclarative.setupBindings();
} else {
qWarning() << "Invalid home screen package";
}