kcms/access use working validator on spinboxes
The KCM is full of many Spinboxes with suffixes. A function removes the suffix when extracting the value, however by default all spinboxes have an IntValidator on them.
The value extraction is not run before the validation, meaning the IntValidator always fails.
The end result is that typing in the spinbox does not work correctly with no change signal ever emitted.
We cannot remove the IntValidator as no other code checks that values are in bounds.
This patch adds a custom validator that strips additional text before using the int validation code.
Edited by David Edmundson