summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/CodeWidget.cpp')
-rw-r--r--Source/Core/DolphinQt2/Debugger/CodeWidget.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp b/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
index ec71d0273e..4cbaa1713a 100644
--- a/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
+++ b/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
@@ -310,8 +310,8 @@ void CodeWidget::UpdateFunctionCalls(Symbol* symbol)
if (call_symbol)
{
- auto* item = new QListWidgetItem(QString::fromStdString(
- StringFromFormat("> %s (%08x)", call_symbol->name.c_str(), addr).c_str()));
+ auto* item = new QListWidgetItem(
+ QString::fromStdString(StringFromFormat("> %s (%08x)", call_symbol->name.c_str(), addr)));
item->setData(Qt::UserRole, addr);
m_function_calls_list->addItem(item);
@@ -331,7 +331,7 @@ void CodeWidget::UpdateFunctionCallers(Symbol* symbol)
if (caller_symbol)
{
auto* item = new QListWidgetItem(QString::fromStdString(
- StringFromFormat("< %s (%08x)", caller_symbol->name.c_str(), addr).c_str()));
+ StringFromFormat("< %s (%08x)", caller_symbol->name.c_str(), addr)));
item->setData(Qt::UserRole, addr);
m_function_callers_list->addItem(item);