summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
diff options
context:
space:
mode:
authorLéo Lam <leolino.lam@gmail.com>2018-03-28 07:50:44 +0200
committerGitHub <noreply@github.com>2018-03-28 07:50:44 +0200
commit10f198f3cf82ebc41586e11fdc592ca689c2058b (patch)
tree500de33975f605835e5d2d658fe9bc6e9e6b851e /Source/Core/DolphinQt2/Debugger/CodeWidget.cpp
parent748ebf6891975da6297e9710e0ba1a67d9a0a462 (diff)
parentdf4ca7f05eff87ac148083befa046a584fd006dc (diff)
Merge pull request #6551 from lioncash/qt-misc
DolphinQt: Remove a few unused variables
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);