mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-24 02:42:50 +00:00
plasma: update geolocation service URL
for reference: https://github.com/fluxer/katana/issues/24 Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
This commit is contained in:
parent
3baa761344
commit
9d0b5b307d
1 changed files with 2 additions and 2 deletions
|
@ -81,11 +81,11 @@ Ip::~Ip()
|
|||
void Ip::update()
|
||||
{
|
||||
d->payload.clear();
|
||||
KIO::TransferJob *datajob = KIO::get(KUrl("http://api.hostip.info/get_html.php?position=true"),
|
||||
KIO::TransferJob *datajob = KIO::get(KUrl("https://api.hostip.info/get_html.php?position=true"),
|
||||
KIO::NoReload, KIO::HideProgressInfo);
|
||||
|
||||
if (datajob) {
|
||||
kDebug() << "Fetching http://api.hostip.info/get_html.php?position=true";
|
||||
kDebug() << "Fetching https://api.hostip.info/get_html.php?position=true";
|
||||
connect(datajob, SIGNAL(data(KIO::Job*,QByteArray)), this,
|
||||
SLOT(readData(KIO::Job*,QByteArray)));
|
||||
connect(datajob, SIGNAL(result(KJob*)), this, SLOT(result(KJob*)));
|
||||
|
|
Loading…
Add table
Reference in a new issue