Commit b61ac1dc authored by David Edmundson's avatar David Edmundson
Browse files

Load translation catalog in config ui

parent 0f8d8ffa
......@@ -91,6 +91,7 @@ void ConfigOptions::setTheme(const QDir &themeDir);
QUiLoader loader;
QFile uiFile(themeDir.filePath(QLatin1String("config.ui")));
m_wrapperWidget = loader.load(&uiFile, this);
......@@ -105,6 +105,10 @@ void ThemeConfig::onThemeSelected(const QModelIndex &index)
const QString theme = ui->themesList->currentIndex().data(ThemesModel::IdRole).toString();
KGlobal::locale()->insertCatalog("lightdm_theme_" + theme);
emit changed(true);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment