Skip to content

KDirOperator: simplify the icons zoom slider logic

Ahmad Samir requested to merge work/ahmad/icon-sizes-slider into master

By setting the minimum/maximum values for the QSlider, 1 step on the slider will represent 1px in size, this simplifies the logic used, and means we can use KIconLoader::StdSizes directly to set the icon sizes.

Fix unit test by using a valid icon size (16 through 128).

Edited by Ahmad Samir

Merge request reports

Loading