summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
diff options
context:
space:
mode:
authorOatmealDome <OatmealDome@users.noreply.github.com>2024-04-14 22:14:18 -0400
committerGitHub <noreply@github.com>2024-04-14 22:14:18 -0400
commitab53f6934cb63a3697ea326db59651996a041066 (patch)
tree4aa3995c8ceb22f6204eb29af7e28819b557dff3 /Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
parent637ae12ff447b3cbca1c7435ee841d5efed2b13b (diff)
parent672be6a8cf6d511ea260e7b055241f476fce0045 (diff)
Merge pull request #12704 from mitaclaw/symbol-description-view
PPCSymbolDB: GetDescription by std::string_view
Diffstat (limited to 'Source/Core/DolphinQt/Debugger/ThreadWidget.cpp')
-rw-r--r--Source/Core/DolphinQt/Debugger/ThreadWidget.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
index 09f7771ba6..0140ff58d9 100644
--- a/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
+++ b/Source/Core/DolphinQt/Debugger/ThreadWidget.cpp
@@ -17,6 +17,7 @@
#include "Core/PowerPC/PowerPC.h"
#include "Core/System.h"
#include "DolphinQt/Host.h"
+#include "DolphinQt/QtUtils/FromStdString.h"
#include "DolphinQt/Settings.h"
ThreadWidget::ThreadWidget(QWidget* parent) : QDockWidget(parent)
@@ -461,7 +462,7 @@ void ThreadWidget::UpdateThreadCallstack(const Core::CPUThreadGuard& guard,
m_callstack_table->setItem(i, 2, new QTableWidgetItem(format_hex(lr_save)));
m_callstack_table->setItem(
i, 3,
- new QTableWidgetItem(QString::fromStdString(
+ new QTableWidgetItem(QtUtils::FromStdString(
guard.GetSystem().GetPowerPC().GetDebugInterface().GetDescription(lr_save))));
}
else