Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Plasma Mobile
Angelfish
Commits
e68ae957
Verified
Commit
e68ae957
authored
Oct 14, 2019
by
Jonah Brüchert
Browse files
Remove some outdated comments
parent
633cff12
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/CMakeLists.txt
View file @
e68ae957
...
...
@@ -3,7 +3,7 @@ set(angelfish_SRCS
browsermanager.cpp
urlmodel.cpp
urlfilterproxymodel.cpp
)
)
qt5_add_resources
(
RESOURCES resources.qrc
)
...
...
src/contents/ui/WebView.qml
View file @
e68ae957
...
...
@@ -172,7 +172,7 @@ WebEngineView {
//Rectangle { color: "yellow"; opacity: 0.3; anchors.fill: parent }
focus
:
true
onLoadingChanged
:
{
// Doesn't work!?!
onLoadingChanged
:
{
//print("Loading: " + loading);
print
(
"
url:
"
+
loadRequest
.
url
)
//print(" icon: " + webEngineView.icon)
...
...
@@ -186,19 +186,10 @@ WebEngineView {
*/
var
ec
=
""
;
var
es
=
""
;
//print("Load: " + loadRequest.errorCode + " " + loadRequest.errorString);
//if (loadRequest.status == WebEngineView.LoadStartedStatus) {
//}
if
(
loadRequest
.
status
===
WebEngineView
.
LoadSucceededStatus
)
{
// record history, set current page info
//contentView.state = "hidden"
//pageInfo.url = webEngineView.url;
//pageInfo.title = webEngineView.title;
//pageInfo.icon = webEngineView.icon;
if
(
!
rootPage
.
privateMode
)
if
(
!
rootPage
.
privateMode
)
{
addHistoryEntry
();
}
}
if
(
loadRequest
.
status
===
WebEngineView
.
LoadFailedStatus
)
{
print
(
"
Load failed:
"
+
loadRequest
.
errorCode
+
"
"
+
loadRequest
.
errorString
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment