Wrong way around.
This commit is contained in:
parent
60d3aa8a7a
commit
bd92360969
|
@ -122,9 +122,9 @@ main(int argc, char* argv[])
|
|||
qmlRegisterType<UtilsClass>("player", 1, 0, "Utils");
|
||||
|
||||
if (settings.value("Backend/fbo", true).toBool()) {
|
||||
qmlRegisterType<MPVNoFBOBackend>("player", 1, 0, "PlayerBackend");
|
||||
} else {
|
||||
qmlRegisterType<MPVBackend>("player", 1, 0, "PlayerBackend");
|
||||
} else {
|
||||
qmlRegisterType<MPVNoFBOBackend>("player", 1, 0, "PlayerBackend");
|
||||
}
|
||||
|
||||
setlocale(LC_NUMERIC, "C");
|
||||
|
|
Loading…
Reference in a new issue