mirror of
https://github.com/LMMS/lmms.git
synced 2026-03-12 19:18:04 -04:00
Properly handle HTTP status code 302 which indicates a moved site, i.e. try to fetch data from the new location. This finally makes WebResources work again with LSP being moved to http://lmms.info. Furthermore cleaned up code a bit. There's no need for a global QHttp object or a global QBuffer object. Instead allocate them on the stack in the according methods. Furthermore removed unused/incomplete support for non-blocking download. We should introduce support for a ProgressDialog solution (also allowing to cancel operations) later. Signed-off-by: Tobias Doerffel <tobias.doerffel@gmail.com>
2.0 KiB
2.0 KiB