forked from qt-creator/qt-creator
		
	Fix lots of QFileSystemWarnings about empty lists
Also only watch folders not files. That also removes files that are directly listed in INSTALLS / DEPLOYMENT, I'll readd them in a later commit.
This commit is contained in:
		@@ -1184,7 +1184,8 @@ void CentralizedFolderWatcher::watchFolders(const QList<QString> &folders, Qt4Pr
 | 
			
		||||
        // Support for recursive watching
 | 
			
		||||
        // we add the recursive directories we find
 | 
			
		||||
        QSet<QString> tmp = recursiveDirs(folder);
 | 
			
		||||
        m_watcher.addPaths(tmp.toList());
 | 
			
		||||
        if (!tmp.isEmpty())
 | 
			
		||||
            m_watcher.addPaths(tmp.toList());
 | 
			
		||||
        m_recursiveWatchedFolders += tmp;
 | 
			
		||||
 | 
			
		||||
        if (debugCFW)
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user