mirror of
https://github.com/baldurk/renderdoc.git
synced 2026-10-10 14:21:31 +00:00
Fix a broken UTF-8 string on Qt MSVC builds
This commit is contained in:
1 parent
b8d7726822
commit
c18e846c69
1 file changed
+2
-1
@@ -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