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");