Function* fun = block->getManager()->getFunction(address);
if (fun) {
- line = line.split(" ")[0] + " " + fun->getName().c_str();
+ line = line.split(" ")[0] + " " + QString(fun->getName().c_str()).toHtmlEscaped();
LOG4CXX_DEBUG(logger, "Naming function at " << address << " " << fun->getName());
}
}
_table->cellAt(row, 1).firstCursorPosition().insertHtml(line);
}
-void BasicBlockWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem *option,
- QWidget *widget) {
+void BasicBlockWidget::paint(QPainter *painter, const QStyleOptionGraphicsItem*,
+ QWidget*) {
width = 10 + _widget->boundingRect().width();
height = 25 + _widget->boundingRect().height();
if (width < 250) width = 250;