Don't reenter the mutex, it is not reentrant.
Merge pull request #198 from ahmedcharles/reentrant

Don't reenter the mutex, it is not reentrant.
Use 'const QString&' for parameters.