diff options
author | Petr Mrázek <peterix@gmail.com> | 2015-05-11 22:50:35 +0200 |
---|---|---|
committer | Petr Mrázek <peterix@gmail.com> | 2015-05-11 22:50:35 +0200 |
commit | 88f975eff7e44341c7fc35767ff954c7cb27ca9e (patch) | |
tree | 558c9a96b32ab7157344f99b462c000d3f336eca /logic/minecraft/ModList.cpp | |
parent | 11c376f6f132058bb4427f1a0deb9650c7746529 (diff) | |
download | MultiMC-88f975eff7e44341c7fc35767ff954c7cb27ca9e.tar MultiMC-88f975eff7e44341c7fc35767ff954c7cb27ca9e.tar.gz MultiMC-88f975eff7e44341c7fc35767ff954c7cb27ca9e.tar.lz MultiMC-88f975eff7e44341c7fc35767ff954c7cb27ca9e.tar.xz MultiMC-88f975eff7e44341c7fc35767ff954c7cb27ca9e.zip |
NOISSUE only watch mod folders when the user is looking at them
Diffstat (limited to 'logic/minecraft/ModList.cpp')
-rw-r--r-- | logic/minecraft/ModList.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/logic/minecraft/ModList.cpp b/logic/minecraft/ModList.cpp index c943c254..a77c5890 100644 --- a/logic/minecraft/ModList.cpp +++ b/logic/minecraft/ModList.cpp @@ -38,6 +38,7 @@ ModList::ModList(const QString &dir, const QString &list_file) void ModList::startWatching() { + update(); is_watching = m_watcher->addPath(m_dir.absolutePath()); if (is_watching) { |