VERY experimental Nintendo Switch 2 emulator
C++
yuzu/debugger/profiler: Specify string conversions explicitly
Lioncash0a7eea3d16d2
diff --git a/src/yuzu/debugger/profiler.cpp b/src/yuzu/debugger/profiler.cppindex 86e03e46d3..f594ef0769 100644--- a/src/yuzu/debugger/profiler.cpp+++ b/src/yuzu/debugger/profiler.cpp@@ -47,7 +47,7 @@ private:#endifMicroProfileDialog::MicroProfileDialog(QWidget* parent) : QWidget(parent, Qt::Dialog) {- setObjectName("MicroProfile");+ setObjectName(QStringLiteral("MicroProfile"));setWindowTitle(tr("MicroProfile"));resize(1000, 600);// Remove the "?" button from the titlebar and enable the maximize button@@ -191,7 +191,7 @@ void MicroProfileDrawText(int x, int y, u32 hex_color, const char* text, u32 texfor (u32 i = 0; i < text_length; ++i) {// Position the text baseline 1 pixel above the bottom of the text cell, this gives nice// vertical alignment of text for a wide range of tested fonts.- mp_painter->drawText(x, y + MICROPROFILE_TEXT_HEIGHT - 2, QChar(text[i]));+ mp_painter->drawText(x, y + MICROPROFILE_TEXT_HEIGHT - 2, QString{QLatin1Char{text[i]}});x += MICROPROFILE_TEXT_WIDTH + 1;}}