Remove duplicate branches

This commit is contained in:
ballessay 2017-04-26 22:40:55 +02:00 committed by C. Balles
parent d45c253f9f
commit dd39666654
2 changed files with 1 additions and 16 deletions

View File

@ -392,15 +392,7 @@ QMap<QString, QList<QList<QString>>> QRCore::getNestedComments()
tmp << fields[1].split("\"")[1].trimmed();
tmp << 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);
}
else
{
ret[fcn_name].append(tmp);
}
ret[fcn_name].append(tmp);
}
}
return ret;

View File

@ -1052,13 +1052,6 @@ void MemoryWidget::cycleViews()
ui->memTabWidget->setCurrentIndex(2);
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
{
// Show disasm