mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Make sure the QWebChannel object is initiated in SpeedDial/Restore pages
Make it more robust, this also fixes issue with Qt 5.9 Closes #2329
This commit is contained in:
parent
74c65c2272
commit
f9778eeaad
@ -267,6 +267,11 @@ function addTab(winId, tab)
|
||||
|
||||
function init()
|
||||
{
|
||||
if (!external.recovery) {
|
||||
setTimeout(init, 50);
|
||||
return;
|
||||
}
|
||||
|
||||
var data = external.recovery.restoreData;
|
||||
for (var i = 0; i < data.length; ++i) {
|
||||
var win = data[i];
|
||||
|
@ -463,6 +463,11 @@ function disableCentering()
|
||||
|
||||
function init()
|
||||
{
|
||||
if (!external.speedDial) {
|
||||
setTimeout(init, 50);
|
||||
return;
|
||||
}
|
||||
|
||||
%INITIAL-SCRIPT%
|
||||
|
||||
external.speedDial.pagesChanged.connect(function() {
|
||||
|
Loading…
Reference in New Issue
Block a user