diff options
| author | Lioncash <mathew1800@gmail.com> | 2018-03-27 22:26:57 -0400 |
|---|---|---|
| committer | Lioncash <mathew1800@gmail.com> | 2018-03-27 22:46:51 -0400 |
| commit | b63716370433c22e4623dee2edc286eec99e2975 (patch) | |
| tree | 82a0ebf6598444c0c4a38ec787b68608f892d127 /Source/Core/DolphinQt2/Debugger/CodeWidget.cpp | |
| parent | ac97f0463f233d970a0c4a60b3f686d4ace7a36a (diff) | |
CodeWidget: Remove unnecessary c_str() calls
Diffstat (limited to 'Source/Core/DolphinQt2/Debugger/CodeWidget.cpp')
| -rw-r--r-- | Source/Core/DolphinQt2/Debugger/CodeWidget.cpp | 6 |
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); |
