MCPcopy Create free account
hub / github.com/FreesmTeam/FreesmLauncher / removeQSavePath

Method removeQSavePath

launcher/Application.cpp:1917–1926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1915}
1916
1917void Application::removeQSavePath(QString path)
1918{
1919 QMutexLocker locker(&m_qsaveResourcesMutex);
1920 auto count = m_qsaveResources.value(path, 0) - 1;
1921 if (count <= 0) {
1922 m_qsaveResources.remove(path);
1923 } else {
1924 m_qsaveResources[path] = count;
1925 }
1926}
1927
1928bool Application::checkQSavePath(QString path)
1929{

Callers 1

~PSaveFileMethod · 0.80

Calls 2

valueMethod · 0.80
removeMethod · 0.45

Tested by

no test coverage detected