mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Better User Agent for Subsurface
This one is less verbose and very easy to parse. It's guaranteed to have five components, separated by ':' with no other ':' in the string: Subsurface:<version>:<PrettyOSName>:<appCpuArch[/osCpuArch]>:<UILang> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
a9f59c0cb3
commit
827d4740c3
4 changed files with 19 additions and 2 deletions
|
|
@ -223,7 +223,7 @@ WebServices::WebServices(QWidget *parent, Qt::WindowFlags f) : QDialog(parent, f
|
|||
ui.buttonBox->button(QDialogButtonBox::Apply)->setEnabled(false);
|
||||
timeout.setSingleShot(true);
|
||||
defaultApplyText = ui.buttonBox->button(QDialogButtonBox::Apply)->text();
|
||||
userAgent = UserSurvey::getVersion().replace("\n", " ");
|
||||
userAgent = UserSurvey::getUserAgent();
|
||||
}
|
||||
|
||||
void WebServices::hidePassword()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue