mirror of
https://invent.kde.org/network/falkon.git
synced 2024-12-20 10:46:35 +01:00
Fixed qvalue in Accept-Language header
Using decimal point now. Closes #696
This commit is contained in:
parent
82ffaed2ad
commit
4fdebc7abe
@ -55,7 +55,7 @@ QByteArray AcceptLanguage::generateHeader(const QStringList &langs)
|
||||
|
||||
int counter = 8;
|
||||
for (int i = 1; i < langs.count(); i++) {
|
||||
QString s = ", " + langs.at(i) + ";q=0,";
|
||||
QString s = ", " + langs.at(i) + ";q=0.";
|
||||
s.append(QString::number(counter));
|
||||
if (counter != 2) {
|
||||
counter -= 2;
|
||||
|
Loading…
Reference in New Issue
Block a user