summaryrefslogtreecommitdiff
path: root/nonprism/kmail/nonprism.patch
diff options
context:
space:
mode:
Diffstat (limited to 'nonprism/kmail/nonprism.patch')
-rw-r--r--nonprism/kmail/nonprism.patch66
1 files changed, 66 insertions, 0 deletions
diff --git a/nonprism/kmail/nonprism.patch b/nonprism/kmail/nonprism.patch
new file mode 100644
index 000000000..c688c0249
--- /dev/null
+++ b/nonprism/kmail/nonprism.patch
@@ -0,0 +1,66 @@
+diff --git a/src/configuredialog/configuresecuritypage.cpp b/src/configuredialog/configuresecuritypage.cpp
+index 0ad3748..351f7a2 100644
+--- a/src/configuredialog/configuresecuritypage.cpp
++++ b/src/configuredialog/configuresecuritypage.cpp
+@@ -20,7 +20,6 @@
+ using namespace PimCommon::ConfigureImmutableWidgetUtils;
+ #include "messageviewer/messageviewersettings.h"
+ #include "MessageComposer/MessageComposerSettings"
+-#include <WebEngineViewer/CheckPhishingUrlCache>
+ #include <MailCommon/FolderCollection>
+ #include "settings/kmailsettings.h"
+
+@@ -93,7 +92,6 @@ SecurityPageGeneralTab::SecurityPageGeneralTab(QWidget *parent)
+
+ connect(mSGTab.mScamDetection, &QAbstractButton::toggled, this, &ConfigModuleTab::slotEmitChanged);
+
+- connect(mSGTab.mCheckUrl, &QCheckBox::stateChanged, this, &SecurityPageGeneralTab::slotEmitChanged);
+ connect(mSGTab.scamWhiteList, &PimCommon::SimpleStringListEditor::changed, this, &ConfigModuleTab::slotEmitChanged);
+ mSGTab.scamWhiteList->setAddDialogLabel(i18n("Email Address:"));
+ }
+@@ -116,7 +114,6 @@ void SecurityPage::GeneralTab::doLoadOther()
+
+ loadWidget(mSGTab.mScamDetection, MessageViewer::MessageViewerSettings::self()->scamDetectionEnabledItem());
+ loadWidget(mSGTab.scamWhiteList, MessageViewer::MessageViewerSettings::self()->scamDetectionWhiteListItem());
+- loadWidget(mSGTab.mCheckUrl, MessageViewer::MessageViewerSettings::self()->checkPhishingUrlItem());
+ }
+
+ void SecurityPage::GeneralTab::save()
+@@ -143,10 +140,6 @@ void SecurityPage::GeneralTab::save()
+ saveCheckBox(mSGTab.mAlwaysDecrypt, MessageViewer::MessageViewerSettings::self()->alwaysDecryptItem());
+ saveCheckBox(mSGTab.mScamDetection, MessageViewer::MessageViewerSettings::self()->scamDetectionEnabledItem());
+ saveSimpleStringListEditor(mSGTab.scamWhiteList, MessageViewer::MessageViewerSettings::self()->scamDetectionWhiteListItem());
+- saveCheckBox(mSGTab.mCheckUrl, MessageViewer::MessageViewerSettings::self()->checkPhishingUrlItem());
+- if (!mSGTab.mCheckUrl->isChecked()) {
+- WebEngineViewer::CheckPhishingUrlCache::self()->clearCache();
+- }
+ }
+
+ QString SecurityPage::MDNTab::helpAnchor() const
+diff --git a/src/ui/securitypagegeneraltab.ui b/src/ui/securitypagegeneraltab.ui
+index 5b85959..e4e5e97 100644
+--- a/src/ui/securitypagegeneraltab.ui
++++ b/src/ui/securitypagegeneraltab.ui
+@@ -148,22 +148,6 @@
+ </layout>
+ </widget>
+ </item>
+- <item row="2" column="0" colspan="2">
+- <widget class="QGroupBox" name="groupBox_5">
+- <property name="title">
+- <string>Safe Browsing</string>
+- </property>
+- <layout class="QVBoxLayout" name="verticalLayout_2">
+- <item>
+- <widget class="QCheckBox" name="mCheckUrl">
+- <property name="text">
+- <string>Check URL With Phishing Google System</string>
+- </property>
+- </widget>
+- </item>
+- </layout>
+- </widget>
+- </item>
+ </layout>
+ </widget>
+ <customwidgets>