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

Removed deprecated function calls

parent 2a2e990f
......@@ -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().width(_operationsList[i]);
int width = button->fontMetrics().horizontalAdvance(_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