[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [kdepim-addons/Applications/16.08] korganizer/plugins/picoftheday: Fix load image
From:       Montel Laurent <montel () kde ! org>
Date:       2016-08-01 6:42:41
Message-ID: E1bU6vx-0004ET-DL () code ! kde ! org
[Download RAW message or body]

Git commit 3a37d62287238cb482743401341372e3bd37da0b by Montel Laurent.
Committed on 01/08/2016 at 06:42.
Pushed by mlaurent into branch 'Applications/16.08'.

Fix load image

M  +1    -0    korganizer/plugins/picoftheday/picoftheday.cpp

http://commits.kde.org/kdepim-addons/3a37d62287238cb482743401341372e3bd37da0b

diff --git a/korganizer/plugins/picoftheday/picoftheday.cpp \
b/korganizer/plugins/picoftheday/picoftheday.cpp index 16bec4a..362148d 100644
--- a/korganizer/plugins/picoftheday/picoftheday.cpp
+++ b/korganizer/plugins/picoftheday/picoftheday.cpp
@@ -201,6 +201,7 @@ void POTDElement::step2Result(KJob *job)
         if (href.startsWith(
                     QStringLiteral("//upload.wikimedia.org/wikipedia/commons/"))) {
             mFullSizeImageUrl = QUrl(href);
+            mFullSizeImageUrl.setScheme(QStringLiteral("https"));
             break;
         }
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic