Commit 51518a35 authored by Sebastian Kügler's avatar Sebastian Kügler

Don't use kdelibs4support

This removes the locale settings changed signal, but we ask the user to
re-login anyway, since that's needed for changes to take effect.
parent 415eab06
......@@ -10,7 +10,6 @@ target_link_libraries(kcm_translations
Qt5::Widgets
KF5::KCMUtils
KF5::I18n
KF5::KDELibs4Support
)
########### install files ###############
......
......@@ -26,7 +26,6 @@
#include <KLocalizedString>
#include <KMessageBox>
#include <KPluginFactory>
#include <kglobalsettings.h>
#include <QDebug>
#include <QListWidget>
......@@ -141,7 +140,6 @@ void KCMTranslations::save()
i18n("Applying Language Settings"),
QLatin1String("LanguageChangesApplyOnlyToNewlyStartedPrograms"));
load();
KGlobalSettings::self()->emitChange(KGlobalSettings::SettingsChanged, KGlobalSettings::SETTINGS_LOCALE);
writeExports();
}
......
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