mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
GIT_SILENT Remove obsolete Qt5 thumbnailer
Signed-off-by: Juraj Oravec <jurajoravec@mailo.com>
This commit is contained in:
parent
32e2f2962e
commit
320187cb60
@ -1,18 +0,0 @@
|
|||||||
import QtQuick 2.2
|
|
||||||
import QtWebEngine 1.0
|
|
||||||
|
|
||||||
WebEngineView {
|
|
||||||
id: view
|
|
||||||
width: 1280
|
|
||||||
height: 720
|
|
||||||
|
|
||||||
onLoadingChanged: {
|
|
||||||
if (loadRequest.status == WebEngineView.LoadStartedStatus)
|
|
||||||
return;
|
|
||||||
|
|
||||||
var ok = loadRequest.status == WebEngineView.LoadSucceededStatus;
|
|
||||||
view.runJavaScript(thumbnailer.afterLoadScript(), function() {
|
|
||||||
thumbnailer.createThumbnail(ok);
|
|
||||||
});
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue
Block a user