From 320187cb609ae82aeaa23017edc1d3d94bd6b569 Mon Sep 17 00:00:00 2001 From: Juraj Oravec Date: Sun, 17 Nov 2024 18:18:48 +0100 Subject: [PATCH] GIT_SILENT Remove obsolete Qt5 thumbnailer Signed-off-by: Juraj Oravec --- src/lib/data/data/thumbnailer-qt5.qml | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 src/lib/data/data/thumbnailer-qt5.qml diff --git a/src/lib/data/data/thumbnailer-qt5.qml b/src/lib/data/data/thumbnailer-qt5.qml deleted file mode 100644 index 01c2ce8a7..000000000 --- a/src/lib/data/data/thumbnailer-qt5.qml +++ /dev/null @@ -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); - }); - } -}