Skip to content
Snippets Groups Projects

Revert "Merge branch 'linewidth-backport-qt-before-5.7' into 'master'"

Merged Jan Möbius requested to merge revert-1cc95194 into master
3 files
+ 3
7
Compare changes
  • Side-by-side
  • Inline
Files
3
@@ -71,8 +71,7 @@ OMPropertyVisualizerVector2<MeshT, VectorType>::OMPropertyVisualizerVector2(Mesh
{
w->vectors_edges_rb->hide();
}
// starting with Qt 5.7, use QOverload<double>::of(&QDoubleSpinBox::valueChanged)
this->connect(w->lineWidth, static_cast<void (QDoubleSpinBox::*)(double)>(&QDoubleSpinBox::valueChanged),
this->connect(w->lineWidth, QOverload<double>::of(&QDoubleSpinBox::valueChanged),
[this](double value) {lineNode->set_line_width(value);});
}
Loading