That vould caused by the Q_ARG macro, macros are bascially "stupid" text replacements.
Try a typedef to the hash and use that as the argument type.

Something like
Qt Code:
  1. typedef QHash<QString, QString> FileNameHash;
To copy to clipboard, switch view to plain text mode 

Cheers,
_