Files
signon-ui/0001-Fix-WebEngine-cache-directory-path.patch
Luca Beltrame d1281c58fa Accepting request 634483 from home:Vogtinator:noqtwebkit5
- Update to webengine branch (4368bb77d9d1abc2978af514225ba4a42c29a646):
  * No WebKit dependency anymore
  * While it has missing features, it's important to switch to a
    maintained browser engine.
  * Does not support webkit-options.d, which means usernames will
    be blank and autologin non-functional. Tokens are still saved.
- Add patch to fix bug in WebEngine integration:
  * 0001-Fix-WebEngine-cache-directory-path.patch

OBS-URL: https://build.opensuse.org/request/show/634483
OBS-URL: https://build.opensuse.org/package/show/KDE:Applications/signon-ui?expand=0&rev=5
2018-09-08 17:30:17 +00:00

27 lines
926 B
Diff

From e155e6e70ce7a6c52837688b570e8020faac5496 Mon Sep 17 00:00:00 2001
From: Fabian Vogt <fabian@ritter-vogt.de>
Date: Sat, 8 Sep 2018 18:58:42 +0200
Subject: [PATCH] Fix WebEngine cache directory path
Otherwise the URL is treated as a path, which results in a folder "file:" in ~.
---
src/browser-request.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/browser-request.cpp b/src/browser-request.cpp
index 146bec8..1895d59 100644
--- a/src/browser-request.cpp
+++ b/src/browser-request.cpp
@@ -132,7 +132,7 @@ void BrowserRequestPrivate::start()
m_dialog->rootContext()->setContextProperty("request", this);
m_dialog->rootContext()->setContextProperty("rootDir",
- QUrl::fromLocalFile(rootDir.absolutePath()));
+ rootDir.absolutePath());
m_dialog->setSource(webview);
}
--
2.18.0