Commit 0218abf1 authored by David Schulz's avatar David Schulz
Browse files

Debugger: Compare files case sensitive depending on OS.



Task-number: QTCREATORBUG-14461
Change-Id: I6e63643754197e300dbc90c9208458e5d69beaf6
Reviewed-by: default avatarhjk <hjk@theqtcompany.com>
Reviewed-by: default avatarChristian Stenger <christian.stenger@theqtcompany.com>
parent 661c68ff
......@@ -678,9 +678,8 @@ DebuggerToolTipContext::DebuggerToolTipContext()
static bool filesMatch(const QString &file1, const QString &file2)
{
QFileInfo f1(file1);
QFileInfo f2(file2);
return f1.canonicalFilePath() == f2.canonicalFilePath();
return FileName::fromString(QFileInfo(file1).canonicalFilePath())
== FileName::fromString(QFileInfo(file2).canonicalFilePath());
}
bool DebuggerToolTipContext::matchesFrame(const StackFrame &frame) const
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment