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

cppcheck fixes

parent fcc05b99
...@@ -183,7 +183,7 @@ void BSplineSurfaceSelectionPlugin::updateSlotDescriptions() { ...@@ -183,7 +183,7 @@ void BSplineSurfaceSelectionPlugin::updateSlotDescriptions() {
//============================================================================================== //==============================================================================================
void BSplineSurfaceSelectionPlugin::slotSelectionOperation(QString _operation) { void BSplineSurfaceSelectionPlugin::slotSelectionOperation(const QString& _operation) {
SelectionInterface::PrimitiveType type = 0u; SelectionInterface::PrimitiveType type = 0u;
emit getActivePrimitiveType(type); emit getActivePrimitiveType(type);
......
...@@ -135,7 +135,7 @@ private slots: ...@@ -135,7 +135,7 @@ private slots:
void noguiSupported() {}; void noguiSupported() {};
// SelectionInterface // SelectionInterface
void slotSelectionOperation(QString _operation); void slotSelectionOperation(const QString &_operation);
void slotToggleSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, bool _deselect); void slotToggleSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, bool _deselect);
void slotVolumeLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, bool _deselect); void slotVolumeLassoSelection(QMouseEvent* _event, SelectionInterface::PrimitiveType _currentType, bool _deselect);
......
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