From fd7db291475c152ba1ba683e13aadb6e0c6cbcc7 Mon Sep 17 00:00:00 2001 From: Elias Date: Sat, 15 Dec 2018 21:29:28 +0100 Subject: [PATCH] Add mp4 support --- ScreenPlay/src/installedlistmodel.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ScreenPlay/src/installedlistmodel.cpp b/ScreenPlay/src/installedlistmodel.cpp index 9957d039..fe108c47 100644 --- a/ScreenPlay/src/installedlistmodel.cpp +++ b/ScreenPlay/src/installedlistmodel.cpp @@ -126,7 +126,7 @@ void InstalledListModel::loadScreens() obj.insert("type", "video"); } - if (fileEnding.endsWith(".webm") || (obj.value("type").toString() == "qmlScene") || fileEnding.endsWith(".html")) + if (fileEnding.endsWith(".webm") || (obj.value("type").toString() == "qmlScene" || fileEnding.endsWith(".mp4") ) || fileEnding.endsWith(".html")) emit addInstalledItem(obj, item.baseName()); if(obj.value("type") == "qmlWidget" || obj.value("type") == "standalonewidget")