Fix warnings and icon sizes being wrong with zoom
KItemListView: Check if animation is already started before starting new one
When user changes the zoom rapidly, we start the animation multiple times, which causes delays with the animation and the icon size is wrong for a while until user interaction refreshes the view.
This change runs the animation only when it's been finished, and avoids the issue with the refresh. Instead in those situations, we know that user is doing something really rapidly, so we should just set the icon size to what it needs to be.
KStandardItemListWidget: Use styleOption().iconSize
We should use styleOption().iconSize instead of iconSize(), since the styleOption returns always the correct size depending on if we are showing previews or not.
In DolphinItemListView we set the iconSize based on the previewSize or iconSize, and the styleOption().iconSize is whichever value it is here.
KItemListWidget::iconSize always returns the settings.iconSize