Commit 1a3f4ca4 authored by Laurent Montel's avatar Laurent Montel 😁

Set identitymanager => avoid to recreate one in configure plugins

parent dd002762
......@@ -137,7 +137,7 @@ else()
set(LIBMAILIMPORTER_VERSION_LIB "5.2.90")
set(MAILCOMMON_LIB_VERSION_LIB "5.2.90")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.2.90")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.93")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.94")
set(LIBKLEO_LIB_VERSION_LIB "5.2.90")
set(LIBGRANTLEETHEME_LIB_VERSION_LIB "5.2.90")
set(PIMCOMMON_LIB_VERSION_LIB "5.2.90")
......
......@@ -55,7 +55,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${accountwizard_SOURCE_DIR})
option(KDEPIM_ENTERPRISE_BUILD "Enable features specific to the enterprise branch, which are normally disabled. Also, it disables many components not needed for Kontact such as the Kolab client." FALSE)
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Xml DBus Test)
set(MAILCOMMON_LIB_VERSION_LIB "5.2.90")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.93")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.94")
set(PIMCOMMON_LIB_VERSION_LIB "5.2.90")
set(LIBKDEPIM_LIB_VERSION_LIB "5.2.90")
......
......@@ -51,7 +51,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${akonadiconsole_SOURCE_DIR})
set(QT_REQUIRED_VERSION "5.6.0")
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets DBus Sql)
set(LIBMAILIMPORTER_VERSION_LIB "5.2.90")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.93")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.94")
set(LIBKLEO_LIB_VERSION_LIB "5.2.90")
set(LIBKDEPIM_LIB_VERSION_LIB "5.2.90")
set(KCALENDARCORE_LIB_VERSION "5.2.90")
......
......@@ -45,7 +45,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${akregator_SOURCE_DIR})
set(LIBGRANTLEETHEME_LIB_VERSION_LIB "5.2.90")
set(LIBKDEPIM_LIB_VERSION_LIB "5.2.90")
set(LIBKLEO_LIB_VERSION_LIB "5.2.90")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.93")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.94")
set(PIMCOMMON_LIB_VERSION_LIB "5.2.90")
set(SYNDICATION_LIB_VERSION "5.2.90")
......
......@@ -47,7 +47,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${blogilo_SOURCE_DIR})
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Test Sql WebEngine WebEngineWidgets)
set(PIMCOMMON_LIB_VERSION_LIB "5.2.90")
set(LIBKDEPIM_LIB_VERSION_LIB "5.2.90")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.93")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.94")
# Find KF5 package
find_package(KF5DBusAddons ${KF5_VERSION} CONFIG REQUIRED)
find_package(KF5DocTools ${KF5_VERSION} REQUIRED)
......
......@@ -36,7 +36,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${grantleeditor_SOURCE_DIR})
set(KDEPIM_VERSION_NUMBER "5.2.90")
set(KDEPIM_VERSION "${KDEPIM_VERSION_NUMBER}${KDEPIM_DEV_VERSION}")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.93")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.94")
set(AKONADI_MIMELIB_VERSION "5.2.90")
set(KPIMTEXTEDIT_LIB_VERSION "5.2.90")
set(KDEPIM_LIB_VERSION "${KDEPIM_VERSION_NUMBER}")
......
......@@ -48,7 +48,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${importwizard_SOURCE_DIR})
find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Widgets Gui)
set(LIBMAILIMPORTER_VERSION_LIB "5.2.90")
set(MAILCOMMON_LIB_VERSION_LIB "5.2.90")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.93")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.94")
set(PIMCOMMON_LIB_VERSION_LIB "5.2.90")
set(LIBKDEPIM_LIB_VERSION_LIB "5.2.90")
set(IDENTITYMANAGEMENT_LIB_VERSION "5.2.90")
......
......@@ -64,7 +64,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${kmail_SOURCE_DIR})
set(LIBGRAVATAR_VERSION_LIB "5.2.90")
set(MAILCOMMON_LIB_VERSION_LIB "5.2.90")
set(KDEPIM_APPS_LIB_VERSION_LIB "5.2.90")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.93")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.94")
set(LIBKLEO_LIB_VERSION_LIB "5.2.90")
set(PIMCOMMON_LIB_VERSION_LIB "5.2.90")
set(LIBKDEPIM_LIB_VERSION_LIB "5.2.90")
......
......@@ -139,6 +139,9 @@ ComposerPage::ComposerPage(QWidget *parent)
Q_FOREACH (MessageComposer::PluginEditorCheckBeforeSend *plugin, MessageComposer::PluginEditorCheckBeforeSendManager::self()->pluginsList()) {
if (plugin->hasConfigureSupport()) {
MessageComposer::PluginEditorCheckBeforeSendConfigureWidgetSetting settings = plugin->createConfigureWidget(this);
if (KMKernel::self()) {
settings.configureWidget->setIdentityManagement(KMKernel::self()->identityManager());
}
ComposerPluginTab *tab = new ComposerPluginTab(settings.configureWidget, plugin, this);
addTab(tab, settings.name);
}
......
......@@ -41,7 +41,7 @@ if(${CMAKE_SOURCE_DIR} STREQUAL ${sieveeditor_SOURCE_DIR})
set(KDEPIM_LIB_VERSION "${KDEPIM_VERSION_NUMBER}")
set(KDEPIM_LIB_SOVERSION "5")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.93")
set(MESSAGELIB_LIB_VERSION_LIB "5.2.94")
set(PIMCOMMON_LIB_VERSION_LIB "5.2.90")
set(LIBKSIEVE_LIB_VERSION_LIB "5.2.90")
......
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