Group :: Graphical desktop/KDE
RPM: kde5-umbrello
Main Changelog Spec Patches Sources Download Gear Bugs and FR Repocop
Patch: alt-no-webkit.patch
Download
Download
--- a/umbrello/umlappprivate.h
+++ b/umbrello/umlappprivate.h
@@ -37,7 +37,7 @@
#include <QFileInfo>
#include <QListWidget>
#include <QObject>
-#include <QWebView>
+#include <QWebEngineView>
class QWidget;
@@ -155,8 +155,7 @@ public slots:
// qDebug() << html;
welcomeWindow = new QDockWidget(i18n("Welcome"), parent);
welcomeWindow->setObjectName(QLatin1String("WelcomeDock"));
- QWebView *view = new QWebView;
- view->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
+ QWebEngineView *view = new QWebEngineView;
view->setContextMenuPolicy(Qt::NoContextMenu);
connect(view, SIGNAL(linkClicked(const QUrl)), this, SLOT(slotWelcomeWindowLinkClicked(const QUrl)));
view->setHtml(html);
--- a/lib/kdev5-php/docs/phpdocumentationwidget.cpp
+++ b/lib/kdev5-php/docs/phpdocumentationwidget.cpp
@@ -38,7 +38,6 @@ PhpDocumentationWidget::PhpDocumentation
, m_provider(provider)
{
m_part = new KDevelop::StandardDocumentationView(find, this);
- m_part->page()->setLinkDelegationPolicy(QWebPage::DelegateAllLinks);
addWidget(m_part);
addWidget(m_loading);
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -102,7 +102,7 @@ find_package(Qt5 ${QT_MIN_VERSION} REQUI
Test
Widgets
Xml
- WebKitWidgets
+ WebEngineWidgets
)
# search packages used by KDE
--- a/umbrello/CMakeLists.txt
+++ b/umbrello/CMakeLists.txt
@@ -549,7 +549,7 @@ else()
Qt5::Xml
Qt5::PrintSupport
Qt5::Svg
- Qt5::WebKitWidgets
+ Qt5::WebEngineWidgets
KF5::Archive
KF5::Completion
KF5::CoreAddons