Skip to content

Switches: fix basic slider decimals and tests#2867

Open
blammit wants to merge 1 commit intomainfrom
blam/stepsize-decimals
Open

Switches: fix basic slider decimals and tests#2867
blammit wants to merge 1 commit intomainfrom
blam/stepsize-decimals

Conversation

@blammit
Copy link
Contributor

@blammit blammit commented Mar 8, 2026

Set the decimals variant without calling QVariant::toInt(), otherwise it is set to a valid QVariant(0) variant.

Fix the decimals/stepsize tests: actually check the expected output, add additional step size tests, and fix the test input paths so that values are set correctly.

Fixes #2866

Set the decimals variant without calling QVariant::toInt(), otherwise it
is set to a valid QVariant(0) variant.

Fix the decimals/stepsize tests: actually check the expected output, add
additional step size tests, and fix the test input paths so that values
are set correctly.

Fixes #2866
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Basic slider: step size of 0.1 is not possible

1 participant