Fixed hidden profiles not showing

http://pokemon-online.eu/threads/some-profiles-cant-be-saved-on-simulator.27717/
My mistake, only QDir::Hidden is needed.

On Thu, Oct 23, 2014 at 8:15 PM, Fuzzysqurl <notifications@github.com>
wrote:

> In src/libraries/PokemonInfo/teamholder.cpp:
>
> > @@ -7,7 +7,7 @@ QStringList Profile::getProfileList(const QString &path)
> >  {
> >      QDir profilesPath(path);
> >      QStringList profilesList;
> > -    foreach(const QString &name, profilesPath.entryList(QStringList("*.xml"))) {
> > +    foreach(const QString &name, profilesPath.entryList(QStringList() << "*.xml", QDir::Files | QDir::Hidden | QDir::System)) {
>
> Does the QDir::System need to be there too? It's just an issue with
> hidden files, so I'd assume only Files and Hidden need to be included.
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/po-devs/pokemon-online/pull/1258/files#r19321479>.
>