forked from qt-creator/qt-creator
Debugger: Compare files case sensitive depending on OS.
Task-number: QTCREATORBUG-14461 Change-Id: I6e63643754197e300dbc90c9208458e5d69beaf6 Reviewed-by: hjk <hjk@theqtcompany.com> Reviewed-by: Christian Stenger <christian.stenger@theqtcompany.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user