SaveTool: add a TODO for later.

This commit is contained in:
Guillaume Jacquemin 2023-08-28 15:47:39 +02:00
parent 3fc9243c81
commit ecdf7d736f
Signed by: williamjcm
SSH key fingerprint: SHA256:AYLOg+iTV0ElElnlu4vqM4edFazVdRiuQB0Y5LoKc4A

View file

@ -431,6 +431,8 @@ SaveTool::drawCheckbox(Containers::StringView label, bool value) {
void void
SaveTool::openUri(Containers::StringView uri) { SaveTool::openUri(Containers::StringView uri) {
ShellExecuteW(nullptr, nullptr, Utility::Unicode::widen(uri.data()), nullptr, nullptr, SW_SHOWDEFAULT); ShellExecuteW(nullptr, nullptr, Utility::Unicode::widen(uri.data()), nullptr, nullptr, SW_SHOWDEFAULT);
// TODO: have it open folders through winebrowser.exe when running using Wine/Proton.
// URLs like Discord invites or Steam Browser Protocol links should be disabled entirely there.
} }
void void