forked from qt-creator/qt-creator
Valgrind: Replace QDir::separator with slash
Change-Id: I8f8192dc065702cb1c6bb218b8d992bb9775cd10 Reviewed-by: hjk <hjk@theqtcompany.com>
This commit is contained in:
@@ -44,7 +44,7 @@ QString toolTipForFrame(const Frame &frame)
|
||||
{
|
||||
QString location;
|
||||
if (!frame.file().isEmpty()) {
|
||||
location = frame.directory() + QDir::separator() + frame.file();
|
||||
location = frame.directory() + QLatin1Char('/') + frame.file();
|
||||
if (frame.line() > 0)
|
||||
location += QLatin1Char(':') + QString::number(frame.line());
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user