mirror of
https://github.com/nextcloud/desktop.git
synced 2024-11-26 23:28:14 +03:00
CaseClash: more defensive logging on Windows.
This commit is contained in:
parent
ed5a8ab090
commit
12b09fab67
1 changed files with 1 additions and 1 deletions
|
@ -386,10 +386,10 @@ bool OwncloudPropagator::localFileNameClash( const QString& relFile )
|
|||
// returns false.
|
||||
} else {
|
||||
QString realFileName = QString::fromWCharArray( FindFileData.cFileName );
|
||||
qDebug() << Q_FUNC_INFO << "Real file name is " << realFileName;
|
||||
FindClose(hFind);
|
||||
|
||||
if( ! file.endsWith(realFileName, Qt::CaseSensitive) ) {
|
||||
qDebug() << Q_FUNC_INFO << "Detected case clash between " << file " and " << realFileName;
|
||||
re = true;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue