From bd923609691a430aa06de2a4b9dd298cc6622d06 Mon Sep 17 00:00:00 2001 From: namedkitten Date: Thu, 16 Apr 2020 18:28:31 +0100 Subject: [PATCH] Wrong way around. --- src/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main.cpp b/src/main.cpp index 4f7a86c..e99c932 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -122,9 +122,9 @@ main(int argc, char* argv[]) qmlRegisterType("player", 1, 0, "Utils"); if (settings.value("Backend/fbo", true).toBool()) { - qmlRegisterType("player", 1, 0, "PlayerBackend"); - } else { qmlRegisterType("player", 1, 0, "PlayerBackend"); + } else { + qmlRegisterType("player", 1, 0, "PlayerBackend"); } setlocale(LC_NUMERIC, "C");