Commit 55afc18a authored by Laurent Montel's avatar Laurent Montel
Browse files

Update to new api

parent 2f322567
Pipeline #265978 skipped
......@@ -74,7 +74,7 @@ set(LIBGRAVATAR_VERSION "5.21.40")
set(MAILCOMMON_LIB_VERSION "5.21.41")
set(MESSAGELIB_LIB_VERSION "5.21.43")
set(LIBKLEO_LIB_VERSION "5.21.40")
set(PIMCOMMON_LIB_VERSION "5.21.73")
set(PIMCOMMON_LIB_VERSION "5.21.74")
set(LIBKDEPIM_LIB_VERSION "5.21.40")
set(LIBKSIEVE_LIB_VERSION "5.21.40")
set(AKONADI_SEARCH_VERSION "5.21.40")
......
......@@ -54,7 +54,7 @@ using KMail::MailServiceImpl;
#include <MessageViewer/MessageViewerSettings>
#include <PimCommon/NetworkManager>
#include <PimCommonAutoCorrection/AutoCorrection>
#include <PimCommonAutoCorrection/PimCommonSettings>
#include <PimCommonAutoCorrection/PimCommonAutoCorrectionSettings>
#include <gravatar/gravatarsettings.h>
#include <messagelist/messagelistsettings.h>
......@@ -1296,7 +1296,7 @@ void KMKernel::slotSyncConfig()
{
saveConfig();
// Laurent investigate why we need to reload them.
PimCommonAutoCorrection::PimCommonSettings::self()->load();
PimCommonAutoCorrection::PimCommonAutoCorrectionSettings::self()->load();
MessageCore::MessageCoreSettings::self()->load();
MessageViewer::MessageViewerSettings::self()->load();
MessageComposer::MessageComposerSettings::self()->load();
......@@ -1311,7 +1311,7 @@ void KMKernel::slotSyncConfig()
void KMKernel::saveConfig()
{
PimCommonAutoCorrection::PimCommonSettings::self()->save();
PimCommonAutoCorrection::PimCommonAutoCorrectionSettings::self()->save();
MessageCore::MessageCoreSettings::self()->save();
MessageViewer::MessageViewerSettings::self()->save();
MessageComposer::MessageComposerSettings::self()->save();
......@@ -1442,8 +1442,8 @@ KSharedConfig::Ptr KMKernel::config()
mMailCommonSettings->setSharedConfig(mySelf->mConfig);
mMailCommonSettings->load();
PimCommonAutoCorrection::PimCommonSettings::self()->setSharedConfig(mySelf->mConfig);
PimCommonAutoCorrection::PimCommonSettings::self()->load();
PimCommonAutoCorrection::PimCommonAutoCorrectionSettings::self()->setSharedConfig(mySelf->mConfig);
PimCommonAutoCorrection::PimCommonAutoCorrectionSettings::self()->load();
Gravatar::GravatarSettings::self()->setSharedConfig(mySelf->mConfig);
Gravatar::GravatarSettings::self()->load();
}
......
Supports Markdown
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