Fix qml naming warning

This commit is contained in:
Patrick Nicolas
2025-06-06 13:21:21 +02:00
parent d392d30d1c
commit 2f2192f292
2 changed files with 10 additions and 10 deletions
+5 -5
View File
@@ -577,19 +577,19 @@ QString wivrn_server::host_path(QString path)
return path;
}
QList<OpenVRCompat> wivrn_server::openVRCompat() const
QList<openVRCompatLib> wivrn_server::openVRCompat() const
{
if (wivrn::is_flatpak())
return {
OpenVRCompat(i18n("xrizer"), "xrizer"),
OpenVRCompat(i18n("Open Composite"), "OpenComposite"),
openVRCompatLib(i18n("xrizer"), "xrizer"),
openVRCompatLib(i18n("Open Composite"), "OpenComposite"),
};
QList<OpenVRCompat> result;
QList<openVRCompatLib> result;
for (auto path: std::ranges::split_view(std::string_view(OVR_COMPAT_SEARCH_PATH), std::string_view(":")))
{
if (std::filesystem::path fs = std::string_view(path); std::filesystem::exists(fs))
result.push_back(OpenVRCompat(QString::fromStdString(fs.string()), QString::fromStdString(fs.string())));
result.push_back(openVRCompatLib(QString::fromStdString(fs.string()), QString::fromStdString(fs.string())));
}
return result;
}