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:
Erik Verbruggen
2014-11-27 10:49:18 +01:00
committed by Nikolai Kosjar
parent e3977de08e
commit be4a030696
8 changed files with 45 additions and 19 deletions

View File

@@ -721,6 +721,11 @@ FileName &FileName::appendString(QChar str)
return *this;
}
QTextStream &operator<<(QTextStream &s, const FileName &fn)
{
return s << fn.toString();
}
static bool isFileDrop(const QMimeData *d, QList<FileDropSupport::FileSpec> *files = 0)
{
// internal drop