Commit fa1b91fe authored by Jan Möbius's avatar Jan Möbius
Browse files

Revert "Removed deprecated function"

This reverts commit f44bfc97
parent f44bfc97
......@@ -820,7 +820,7 @@ void SelectionBasePlugin::slotAddSelectionOperations(QString _handleName, QStrin
QPushButton* button = new QPushButton(_operationsList[i]);
button->setSizePolicy(QSizePolicy::Minimum, QSizePolicy::Fixed);
int width = button->fontMetrics().horizontalAdvance(_operationsList[i]);
int width = button->fontMetrics().width(_operationsList[i]);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment