EngineController: make supportedMimeTypes() non-static
authorMatěj Laitl <matej@laitl.cz>
Fri, 13 Jul 2012 11:14:25 +0000 (13:14 +0200)
committerMatěj Laitl <matej@laitl.cz>
Thu, 19 Jul 2012 13:24:51 +0000 (15:24 +0200)
commite5cafbbae804a1c84d6b2245e7992dc0183a6477
treec1c5cbd7693216822e6b076a9e9b5a2b69b0ecce
parenta81442d83e238281caf11959bef3cfefe1e54d84
EngineController: make supportedMimeTypes() non-static

Static methods have no sense in a singleton class. Additionally, it was
very hacky (and impossible in corner-cases) to keep it thread-safe.
Making it non-static will allow us to do some tricks so that the calls
are more robust.
src/EngineController.cpp
src/EngineController.h
src/browsers/filebrowser/FileBrowser.cpp