|
|
|
@ -20,6 +20,7 @@
|
|
|
|
|
#include "secondaryconfigview.h"
|
|
|
|
|
|
|
|
|
|
// local
|
|
|
|
|
#include <config-latte.h>
|
|
|
|
|
#include "primaryconfigview.h"
|
|
|
|
|
#include "../panelshadows_p.h"
|
|
|
|
|
#include "../view.h"
|
|
|
|
@ -121,9 +122,12 @@ void SecondaryConfigView::init()
|
|
|
|
|
KDeclarative::KDeclarative kdeclarative;
|
|
|
|
|
kdeclarative.setDeclarativeEngine(engine());
|
|
|
|
|
kdeclarative.setTranslationDomain(QStringLiteral("latte-dock"));
|
|
|
|
|
#if KF5_VERSION_MINOR >= 45
|
|
|
|
|
kdeclarative.setupContext();
|
|
|
|
|
kdeclarative.setupEngine(engine());
|
|
|
|
|
//kdeclarative.setupBindings();
|
|
|
|
|
#else
|
|
|
|
|
kdeclarative.setupBindings();
|
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
QByteArray tempFilePath = "lattedocksecondaryconfigurationui";
|
|
|
|
|
|
|
|
|
|