1
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:
Juraj Oravec 2024-11-17 18:18:48 +01:00
parent 32e2f2962e
commit 320187cb60
Signed by: SGOrava
GPG Key ID: 13660A3F1D9F093B

View File

@ -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);
});
}
}