From 4fdebc7abe269993426792da16e673188860f79f Mon Sep 17 00:00:00 2001 From: nowrep Date: Fri, 4 Jan 2013 15:46:57 +0100 Subject: [PATCH] Fixed qvalue in Accept-Language header Using decimal point now. Closes #696 --- src/lib/preferences/acceptlanguage.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/preferences/acceptlanguage.cpp b/src/lib/preferences/acceptlanguage.cpp index 25e969bbc..971887f45 100644 --- a/src/lib/preferences/acceptlanguage.cpp +++ b/src/lib/preferences/acceptlanguage.cpp @@ -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;