NOISSUE only watch mod folders when the user is looking at them

This commit is contained in:
Petr Mrázek
2015-05-11 22:50:35 +02:00
parent 11c376f6f1
commit 88f975eff7
3 changed files with 13 additions and 1 deletions

View File

@ -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)
{