CodeWidget: Remove unnecessary c_str() calls
This commit is contained in:
parent
ac97f0463f
commit
b637163704
|
@ -310,8 +310,8 @@ void CodeWidget::UpdateFunctionCalls(Symbol* symbol)
|
||||||
|
|
||||||
if (call_symbol)
|
if (call_symbol)
|
||||||
{
|
{
|
||||||
auto* item = new QListWidgetItem(QString::fromStdString(
|
auto* item = new QListWidgetItem(
|
||||||
StringFromFormat("> %s (%08x)", call_symbol->name.c_str(), addr).c_str()));
|
QString::fromStdString(StringFromFormat("> %s (%08x)", call_symbol->name.c_str(), addr)));
|
||||||
item->setData(Qt::UserRole, addr);
|
item->setData(Qt::UserRole, addr);
|
||||||
|
|
||||||
m_function_calls_list->addItem(item);
|
m_function_calls_list->addItem(item);
|
||||||
|
@ -331,7 +331,7 @@ void CodeWidget::UpdateFunctionCallers(Symbol* symbol)
|
||||||
if (caller_symbol)
|
if (caller_symbol)
|
||||||
{
|
{
|
||||||
auto* item = new QListWidgetItem(QString::fromStdString(
|
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);
|
item->setData(Qt::UserRole, addr);
|
||||||
|
|
||||||
m_function_callers_list->addItem(item);
|
m_function_callers_list->addItem(item);
|
||||||
|
|
Loading…
Reference in New Issue