Commit ba511f99 authored by David Redondo's avatar David Redondo 🏎
Browse files

Add downloaded pages instantly again

The object which id refers to was changed, so we did not call into
the model anymore.
parent 08707389
...@@ -196,13 +196,14 @@ Kirigami.ApplicationWindow { ...@@ -196,13 +196,14 @@ Kirigami.ApplicationWindow {
id: getNewPageDialog id: getNewPageDialog
sourceComponent: NewStuff.Dialog { sourceComponent: NewStuff.Dialog {
id: downloadDialog
configFile: "plasma-systemmonitor.knsrc" configFile: "plasma-systemmonitor.knsrc"
// I have a weird bug on my machine where getNewPageDialog.changedEntries is not an alias // I have a weird bug on my machine where getNewPageDialog.changedEntries is not an alias
// engine.changedEntries but for the engine itself, so I directly use the property of the engine // engine.changedEntries but for the engine itself, so I directly use the property of the engine
Connections { Connections {
target: getNewPageDialog.engine target: downloadDialog.engine
function onChangedEntriesChanged() { function onChangedEntriesChanged() {
pagesModel.ghnsEntriesChanged(getNewPageDialog.engine.changedEntries) pagesModel.ghnsEntriesChanged(downloadDialog.engine.changedEntries)
} }
} }
visible: true visible: true
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment