summaryrefslogtreecommitdiff
path: root/nonprism/kmail/nonprism.patch
blob: c688c02491b2c5e6a56096c306d05e099d4c5929 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
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>