mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-05-04 17:10:47 +00:00
Fix a broken UTF-8 string on Qt MSVC builds
This commit is contained in:
@@ -170,7 +170,8 @@ inline QString UnitSuffix(TimeUnit unit)
|
||||
else if(unit == TimeUnit::Milliseconds)
|
||||
return lit("ms");
|
||||
else if(unit == TimeUnit::Microseconds)
|
||||
return lit("µs");
|
||||
// without a BOM in the file, this will break using lit() in MSVC
|
||||
return QString::fromUtf8("µs");
|
||||
else if(unit == TimeUnit::Nanoseconds)
|
||||
return lit("ns");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user