mirror of
https://github.com/rizinorg/cutter.git
synced 2025-01-19 02:48:49 +00:00
Remove duplicate branches
This commit is contained in:
parent
d45c253f9f
commit
dd39666654
@ -392,16 +392,8 @@ QMap<QString, QList<QList<QString>>> QRCore::getNestedComments()
|
|||||||
tmp << fields[1].split("\"")[1].trimmed();
|
tmp << fields[1].split("\"")[1].trimmed();
|
||||||
tmp << fields[0].trimmed();
|
tmp << fields[0].trimmed();
|
||||||
QString fcn_name = this->cmdFunctionAt(fields[0].trimmed());
|
QString fcn_name = this->cmdFunctionAt(fields[0].trimmed());
|
||||||
// Why test if you do the same thing?
|
|
||||||
if (ret.contains(fcn_name))
|
|
||||||
{
|
|
||||||
ret[fcn_name].append(tmp);
|
ret[fcn_name].append(tmp);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
ret[fcn_name].append(tmp);
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
@ -1052,13 +1052,6 @@ void MemoryWidget::cycleViews()
|
|||||||
ui->memTabWidget->setCurrentIndex(2);
|
ui->memTabWidget->setCurrentIndex(2);
|
||||||
ui->memSideTabWidget_2->setCurrentIndex(0);
|
ui->memSideTabWidget_2->setCurrentIndex(0);
|
||||||
}
|
}
|
||||||
else if (ui->memTabWidget->currentIndex() == 2)
|
|
||||||
{
|
|
||||||
// Show disasm
|
|
||||||
ui->disButton_2->setChecked(true);
|
|
||||||
ui->memTabWidget->setCurrentIndex(0);
|
|
||||||
ui->memSideTabWidget_2->setCurrentIndex(0);
|
|
||||||
}
|
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
// Show disasm
|
// Show disasm
|
||||||
|
Loading…
Reference in New Issue
Block a user