mirror of
https://github.com/KDE/latte-dock.git
synced 2025-01-27 06:03:51 +03:00
restore translations for settings window
BUG: 406114
This commit is contained in:
parent
4048edc7f9
commit
86a7eddba5
@ -81,6 +81,8 @@ void InfoView::init()
|
||||
KDeclarative::KDeclarative kdeclarative;
|
||||
kdeclarative.setDeclarativeEngine(engine());
|
||||
kdeclarative.setTranslationDomain(QStringLiteral("latte-dock"));
|
||||
kdeclarative.setupContext();
|
||||
kdeclarative.setupEngine(engine());
|
||||
// kdeclarative.setupBindings();
|
||||
auto source = QUrl::fromLocalFile(m_corona->kPackage().filePath("infoviewui"));
|
||||
setSource(source);
|
||||
|
@ -152,6 +152,8 @@ void PrimaryConfigView::init()
|
||||
KDeclarative::KDeclarative kdeclarative;
|
||||
kdeclarative.setDeclarativeEngine(engine());
|
||||
kdeclarative.setTranslationDomain(QStringLiteral("latte-dock"));
|
||||
kdeclarative.setupContext();
|
||||
kdeclarative.setupEngine(engine());
|
||||
//kdeclarative.setupBindings();
|
||||
|
||||
QByteArray tempFilePath = "lattedockconfigurationui";
|
||||
|
@ -121,6 +121,8 @@ void SecondaryConfigView::init()
|
||||
KDeclarative::KDeclarative kdeclarative;
|
||||
kdeclarative.setDeclarativeEngine(engine());
|
||||
kdeclarative.setTranslationDomain(QStringLiteral("latte-dock"));
|
||||
kdeclarative.setupContext();
|
||||
kdeclarative.setupEngine(engine());
|
||||
//kdeclarative.setupBindings();
|
||||
|
||||
QByteArray tempFilePath = "lattedocksecondaryconfigurationui";
|
||||
|
Loading…
x
Reference in New Issue
Block a user