Vermont-EPSCoR / Macroinvertebrates

Macroinvertebrates Mobile App - Qt Version
MIT License
2 stars 0 forks source link

Some Images Are Failing For X-Platform But Not iOS #10

Closed MorganRodgers closed 8 years ago

MorganRodgers commented 8 years ago

Figure what what's going on here.

MorganRodgers commented 8 years ago

It's looking like there might be multiple invertebrates (which are keyed by their name) using the same image. During image sync switching to a QMultiMap solves that problem.

I think that I've also got a problem with how I'm slicing (mid-ing) the list of image titles.

MorganRodgers commented 8 years ago

Not a slice issue. I hadn't completely implemented the system for matching invertebrates to their images because most times the file name is the same, but sometimes the file names have their spaces replaced with underscores, and other sometimes the underscores are replaced by spaces.

This is fixed in settings.

MorganRodgers commented 8 years ago

Merged.

p.s. It'd be good to have this fixed on the server side so that the app doesn't have to try and guess what the image is really named. Still at this point it's handled and not too burdensome.