mirror of
https://invent.kde.org/network/falkon.git
synced 2024-11-11 01:22:10 +01:00
[Updater] Send also OS type when checking for new version.
This commit is contained in:
parent
1769193284
commit
1059936d57
|
@ -1,6 +1,6 @@
|
|||
/* ============================================================
|
||||
* QupZilla - WebKit based browser
|
||||
* Copyright (C) 2010-2012 David Rosca <nowrep@gmail.com>
|
||||
* Copyright (C) 2010-2013 David Rosca <nowrep@gmail.com>
|
||||
*
|
||||
* This program is free software: you can redistribute it and/or modify
|
||||
* it under the terms of the GNU General Public License as published by
|
||||
|
@ -17,6 +17,7 @@
|
|||
* ============================================================ */
|
||||
#include "updater.h"
|
||||
#include "qupzilla.h"
|
||||
#include "qztools.h"
|
||||
#include "mainapplication.h"
|
||||
#include "tabwidget.h"
|
||||
#include "desktopnotificationsfactory.h"
|
||||
|
@ -93,7 +94,11 @@ bool Updater::isBiggerThan_SpecialSymbol(QString one, QString two)
|
|||
|
||||
void Updater::start()
|
||||
{
|
||||
startDownloadingUpdateInfo(QUrl(QupZilla::WWWADDRESS + "/update.php?v=" + QupZilla::VERSION));
|
||||
QUrl url = QUrl(QString("%1/update.php?v=%2&os=%3").arg(QupZilla::WWWADDRESS,
|
||||
QupZilla::VERSION,
|
||||
QzTools::buildSystem()));
|
||||
|
||||
startDownloadingUpdateInfo(url);
|
||||
}
|
||||
|
||||
void Updater::startDownloadingUpdateInfo(const QUrl &url)
|
||||
|
|
Loading…
Reference in New Issue
Block a user