MCPcopy Create free account
hub / github.com/SaschaWillems/VulkanCapsViewer / encodeUrl

Method encodeUrl

vulkanDatabase.cpp:99–102  ·  view source on GitHub ↗

Encodes an url (or string) to make it comply to RFC2396 by replacing illegal characters Some device descriptions may include a "+" that needs to be replaced (e.g. GeForce 9800 GTX+/PCI/SSE2) Url (or string) to be encoded

Source from the content-addressed store, hash-verified

97/// <param name="url">Url (or string) to be encoded</param>
98/// <returns></returns>
99QString VulkanDatabase::encodeUrl(QString url)
100{
101 return url.replace("+", "%2B");
102}
103
104int VulkanDatabase::getReportId(VulkanDeviceInfo device)
105{

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected