From e5f21a553f0df6bd2595b65285ba0f60c3981318 Mon Sep 17 00:00:00 2001 From: Kitteh Date: Sun, 11 Nov 2018 13:50:42 +0000 Subject: [PATCH] [UI] MPV uses yes/no rather than true/false. --- src/qml/main.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/qml/main.qml b/src/qml/main.qml index 50eb16d..5be1228 100644 --- a/src/qml/main.qml +++ b/src/qml/main.qml @@ -108,8 +108,8 @@ ApplicationWindow { toggleFullscreen() continue; } - if (splitArg[1].length == 0) { - splitArg[1] = "true" + if (splitArg[1] == undefined || splitArg[1].length == 0) { + splitArg[1] = "yes" } player.setOption(splitArg[0], splitArg[1])