[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim/Applications/16.08] kmail/src/configuredialog: Set identitymanager
From:       Montel Laurent <montel () kde ! org>
Date:       2016-07-31 19:56:52
Message-ID: E1bTwqy-000752-IC () code ! kde ! org
[Download RAW message or body]

Git commit aa474661c1bb4f0fc37e15cb28d8bfa96faa49dd by Montel Laurent.
Committed on 31/07/2016 at 19:56.
Pushed by mlaurent into branch 'Applications/16.08'.

Set identitymanager

M  +1    -4    kmail/src/configuredialog/configurecomposerpage.cpp

http://commits.kde.org/kdepim/aa474661c1bb4f0fc37e15cb28d8bfa96faa49dd

diff --git a/kmail/src/configuredialog/configurecomposerpage.cpp \
b/kmail/src/configuredialog/configurecomposerpage.cpp index 54f8a02..05e897f 100644
--- a/kmail/src/configuredialog/configurecomposerpage.cpp
+++ b/kmail/src/configuredialog/configurecomposerpage.cpp
@@ -138,10 +138,7 @@ 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());
                
-            }
+            MessageComposer::PluginEditorCheckBeforeSendConfigureWidgetSetting \
settings = plugin->createConfigureWidget(KMKernel::self() ? \
                KMKernel::self()->identityManager() : Q_NULLPTR, this);
             ComposerPluginTab *tab = new ComposerPluginTab(settings.configureWidget, \
plugin, this);  addTab(tab, settings.name);
         }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic