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

Merge branch 'revert-f44bfc97' into 'master'

Revert "Removed deprecated function"

See merge request !4
parents f44bfc97 fa1b91fe
......@@ -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