MCPcopy Create free account
hub / github.com/MultiMC/Launcher / disable

Method disable

launcher/RecursiveFileSystemWatcher.cpp:47–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

45 m_isEnabled = true;
46}
47void RecursiveFileSystemWatcher::disable()
48{
49 if (!m_isEnabled)
50 {
51 return;
52 }
53 m_isEnabled = false;
54 m_watcher->removePaths(m_watcher->files());
55 m_watcher->removePaths(m_watcher->directories());
56}
57
58void RecursiveFileSystemWatcher::setFiles(const QStringList &files)
59{

Callers 1

closedImplMethod · 0.80

Calls 1

filesMethod · 0.80

Tested by

no test coverage detected