diff options
| author | Connor McLaughlin <stenzek@gmail.com> | 2019-08-08 12:25:30 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-08-08 12:25:30 +1000 |
| commit | 1bd8f033627ceef8479cb549447782ae860574c2 (patch) | |
| tree | bfa6fa96843079b448ca9230488a8031b742b714 /Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | |
| parent | 1092efa77ae302fc677ebb67cdf2f93024b93f79 (diff) | |
| parent | fef1b84f0a587dc285af6659cb64042e34e54223 (diff) | |
Merge pull request #8271 from lioncash/qstring
DolphinQt: Replace unnecessary QStringLiterals with alternatives where applicable
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp index 9769a420b4..86874198af 100644 --- a/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp +++ b/Source/Core/DolphinQt/Debugger/MemoryViewWidget.cpp @@ -169,7 +169,8 @@ void MemoryViewWidget::Update() case Type::ASCII: update_values([&accessors](u32 address) { const char value = accessors->ReadU8(address); - return std::isprint(value) ? QString{QChar::fromLatin1(value)} : QStringLiteral("."); + return std::isprint(value) ? QString{QChar::fromLatin1(value)} : + QString{QChar::fromLatin1('.')}; }); break; case Type::U16: |
