on xenial help sign in
un-comment locale related bits to restart

verified it doesn't freeze/crash anymore

commitdb5f575c57fa16231326488af80a575d14d18eba authorLukáš Tinkl <lukas.tinkl@canonical.com> dateTue 22 Dec 2015, 14:28 (11 years ago) parentfd88211
1 file changed+6−6
plugins/Wizard/System.cpp+6−6
plugins/Wizard/System.cpp+6−6
@@ -101,10 +101,10 @@ void System::updateSessionLocale(const QString &locale)
101101 QLocale::setDefault(QLocale(locale));
102102
103103 // Restart bits of the session to pick up new language.
104−// QProcess::startDetached(QStringLiteral("sh -c \"initctl emit indicator-services-end; \
105−// initctl stop scope-registry; \
106−// initctl stop smart-scopes-proxy; \
107−// initctl emit --no-wait indicator-services-start; \
108−// initctl restart --no-wait maliit-server; \
109−// initctl restart --no-wait unity8-dash\""));
104+ QProcess::startDetached(QStringLiteral("sh -c \"initctl emit indicator-services-end; \
105+ initctl stop scope-registry; \
106+ initctl stop smart-scopes-proxy; \
107+ initctl emit --no-wait indicator-services-start; \
108+ initctl restart --no-wait maliit-server; \
109+ initctl restart --no-wait unity8-dash\""));
110110}