forked from qt-creator/qt-creator
		
	C++: handle case-insensitive file names in the WorkingCopy
... by keying on Utils::FileName Task-number: QTCREATORBUG-12390 Change-Id: Ia1a59d2e422b4f92300ac6a8e0e52dd7456a6e70 Reviewed-by: Eike Ziller <eike.ziller@theqtcompany.com> Reviewed-by: Nikolai Kosjar <nikolai.kosjar@theqtcompany.com>
This commit is contained in:
		
				
					committed by
					
						 Nikolai Kosjar
						Nikolai Kosjar
					
				
			
			
				
	
			
			
			
						parent
						
							e3977de08e
						
					
				
				
					commit
					be4a030696
				
			| @@ -580,10 +580,10 @@ void Dumper::dumpWorkingCopy(const WorkingCopy &workingCopy) | ||||
|     m_out << "Working Copy contains " << workingCopy.size() << " entries{{{1\n"; | ||||
|  | ||||
|     const QByteArray i1 = indent(1); | ||||
|     QHashIterator<QString, QPair<QByteArray, unsigned> > it = workingCopy.iterator(); | ||||
|     QHashIterator<::Utils::FileName, QPair<QByteArray, unsigned> > it = workingCopy.iterator(); | ||||
|     while (it.hasNext()) { | ||||
|         it.next(); | ||||
|         const QString filePath = it.key(); | ||||
|         const ::Utils::FileName &filePath = it.key(); | ||||
|         unsigned sourcRevision = it.value().second; | ||||
|         m_out << i1 << "rev=" << sourcRevision << ", " << filePath << "\n"; | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user