summaryrefslogtreecommitdiff
path: root/nonprism/kdepim-runtime/libre.patch
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-04-07 11:40:16 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2017-04-07 11:40:16 -0300
commitd9466d21ae97759364c6716f398f8d4d09ad8001 (patch)
tree134efdfbefdaf74c1fc1f73505ec5b5f6c2ade88 /nonprism/kdepim-runtime/libre.patch
parent06435f4f36691eb06e7d35a11e5ae576be6f2c70 (diff)
downloadabslibre-d9466d21ae97759364c6716f398f8d4d09ad8001.tar.gz
abslibre-d9466d21ae97759364c6716f398f8d4d09ad8001.tar.bz2
abslibre-d9466d21ae97759364c6716f398f8d4d09ad8001.zip
kdepim-runtime-16.12.3-1.parabola1.nonprism1: updating version
Diffstat (limited to 'nonprism/kdepim-runtime/libre.patch')
-rw-r--r--nonprism/kdepim-runtime/libre.patch80
1 files changed, 80 insertions, 0 deletions
diff --git a/nonprism/kdepim-runtime/libre.patch b/nonprism/kdepim-runtime/libre.patch
new file mode 100644
index 000000000..4dbbe4c46
--- /dev/null
+++ b/nonprism/kdepim-runtime/libre.patch
@@ -0,0 +1,80 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 6786adc43..825e6bfaa 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -82,7 +82,7 @@ find_package( SharedMimeInfo REQUIRED )
+
+
+ # QT5 package
+-find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Network Widgets Test XmlPatterns DBus WebEngineWidgets)
++find_package(Qt5 ${QT_REQUIRED_VERSION} CONFIG REQUIRED Network Widgets Test XmlPatterns DBus)
+ find_package(Qt5 OPTIONAL_COMPONENTS TextToSpeech)
+ if (NOT Qt5TextToSpeech_FOUND)
+ message(STATUS "Qt5TextToSpeech not found, speech feature will be disabled")
+diff --git a/resources/tomboynotes/CMakeLists.txt b/resources/tomboynotes/CMakeLists.txt
+index a49caa91e..97b36a587 100644
+--- a/resources/tomboynotes/CMakeLists.txt
++++ b/resources/tomboynotes/CMakeLists.txt
+@@ -60,7 +60,6 @@ target_link_libraries(akonadi_tomboynotes_resource
+ Qt5::DBus
+ Qt5::Gui
+ Qt5::Network
+- Qt5::WebEngineWidgets
+ KF5::AkonadiAgentBase
+ KF5::AkonadiNotes
+ KF5::ConfigCore
+diff --git a/resources/tomboynotes/tomboyserverauthenticatejob.cpp b/resources/tomboynotes/tomboyserverauthenticatejob.cpp
+index 00ad110e2..45e3af5e7 100644
+--- a/resources/tomboynotes/tomboyserverauthenticatejob.cpp
++++ b/resources/tomboynotes/tomboyserverauthenticatejob.cpp
+@@ -24,19 +24,15 @@
+ #include <QJsonObject>
+
+ TomboyServerAuthenticateJob::TomboyServerAuthenticateJob(KIO::AccessManager *manager, QObject *parent)
+- : TomboyJobBase(manager, parent),
+- mWebView(new QWebEngineView(Q_NULLPTR))
++ : TomboyJobBase(manager, parent)
+ {
+ // Connect the o2 authenfication signals
+ connect(mO1, &O1::linkingFailed, this, &TomboyServerAuthenticateJob::onLinkingFailed);
+ connect(mO1, &O1::linkingSucceeded, this, &TomboyServerAuthenticateJob::onLinkingSucceeded);
+- connect(mO1, &O1::openBrowser, this, &TomboyServerAuthenticateJob::onOpenBrowser);
+- connect(mO1, &O1::closeBrowser, mWebView, &QWebEngineView::close);
+ }
+
+ TomboyServerAuthenticateJob::~TomboyServerAuthenticateJob()
+ {
+- delete mWebView;
+ }
+
+ void TomboyServerAuthenticateJob::start()
+@@ -82,8 +78,6 @@ void TomboyServerAuthenticateJob::onLinkingSucceeded()
+
+ void TomboyServerAuthenticateJob::onOpenBrowser(const QUrl &url)
+ {
+- mWebView->setUrl(url);
+- mWebView->show();
+ }
+
+ void TomboyServerAuthenticateJob::onApiRequestFinished()
+diff --git a/resources/tomboynotes/tomboyserverauthenticatejob.h b/resources/tomboynotes/tomboyserverauthenticatejob.h
+index 6743406d1..5a70ae4e6 100644
+--- a/resources/tomboynotes/tomboyserverauthenticatejob.h
++++ b/resources/tomboynotes/tomboyserverauthenticatejob.h
+@@ -22,7 +22,6 @@
+
+ #include "tomboyjobbase.h"
+ #include <QString>
+-#include <QWebEngineView>
+
+ class TomboyServerAuthenticateJob : public TomboyJobBase
+ {
+@@ -48,8 +47,6 @@ private:
+ void onUserRequestFinished();
+ QString mUserURL;
+
+- QWebEngineView *mWebView;
+-
+ };
+
+ #endif // TOMBOYSERVERAUTHENTICATEJOB_H