Revision ad715b9...
Go back to digest for 27th May 2012Features in Other
Warning: Non-*ABI* compatible commit. You must rebuild KDE plugins after
updating or you might/will experience crashes. API compatible.
This commit:
1) Adds the ability for applications using attica as a library to pass
flags to the provider manager, notably to disable plugin loading so that
deterministic QtPlatformDependent behavior can be used.
2) Updates the PlatformDependent API to add a setNam call to allow
setting a custom QNetworkAccessManager.
3) Implements setting/getting QNAMs in the ProviderManager in a
thread-safe way. QNetworkAccessManager is not thread-safe and so using
the same QNAM across multiple threads can result in crashes if one of
them is deleted, most notably because it takes ownership of a
QNetworkProxyFactory object so simply passing in a proxyfactory is not
good enough.
File Changes
- lib/platformdependent.h
- lib/providermanager.cpp
- lib/providermanager.h
- lib/qtplatformdependent.cpp
- lib/qtplatformdependent.h