The injury to the eyes is much more likely to be the cause of the eye swelling, and the new pine shavings are more likely to be pure coincidence. Just because they both occurred prior to the eye inflammation doesn't mean they both caused it.
You've been giving your quail the proper treatment...