Commit 49430094 authored by LACROIX Romain's avatar LACROIX Romain

Simpler : fewer parentheses.

parent fdb3c059
......@@ -339,9 +339,9 @@ dtkVisualizationDecoratorVectorStreamTracer::dtkVisualizationDecoratorVectorStre
{
const int axis =
seed_widget == seed_pos1_x ? 0 :
(seed_widget == seed_pos1_y ? 1 :
(seed_widget == seed_pos1_z ? 2 :
3));
seed_widget == seed_pos1_y ? 1 :
seed_widget == seed_pos1_z ? 2 :
3;
connect(seed_widget, QOverload<double>::of(&dtkVisualizationWidgetsScalarControl::valueChanged), [=] (double val)
{
if (axis == 3) // radius
......
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