[sailfish] only proxy images when using ignore ssl, since it works (in the simulator) for proper certs, regards #70

This commit is contained in:
Hauke Schade 2014-04-11 11:16:58 +02:00
parent 94aca25603
commit 354b4ad2d9

View file

@ -153,7 +153,7 @@ Page {
ttrss.clearState();
ttrss.setLoginDetails(username.text, password.text, server.text);
// BUGFIX since somehow the silica QML Image can not display images coming from a secure line
if (server.text.substring(0, 5) === "https")
if (settings.ignoreSSLErrors && server.text.substring(0, 5) === "https")
ttrss.setProxy("http://proxy.cnlpete.de/proxy.php?url=")
if (settings.httpauthusername != '' && settings.httpauthpassword != '') {
ttrss.setHttpAuthInfo(settings.httpauthusername, settings.httpauthpassword);