diff --git a/src/widgets/FunctionsWidget.cpp b/src/widgets/FunctionsWidget.cpp index 8c8fe7b1..b4588483 100644 --- a/src/widgets/FunctionsWidget.cpp +++ b/src/widgets/FunctionsWidget.cpp @@ -254,7 +254,7 @@ QVariant FunctionModel::data(const QModelIndex &index, int role) const } QString toolTipContent = QString("
") .arg(fnt.family()) - .arg(qMax(6, fnt.pointSize() - 1)) // slightly decrease font size, to keep more text in the same + .arg(qMax(6, fnt.pointSize() - 1)) // slightly decrease font size, to keep more text in the same box + tr("
Summary:
") + tr("Size: %1, Cyclomatic complexity: %2, Basic blocks: %3") .arg(size) @@ -495,7 +495,7 @@ FunctionsWidget::FunctionsWidget(MainWindow *main, QAction *action) : // Radare core found in: this->main = main; - setStyleSheet(QString("QToolTip { max-width: %2px; opacity: 230; }").arg(kMaxTooltipWidth)); + setStyleSheet(QString("QToolTip { max-width: %1px; opacity: 230; }").arg(kMaxTooltipWidth)); // leave the filter visible by default so users know it exists //ui->filterLineEdit->setVisible(false);