From 09d126325cc033cf6e23ef8bd9ce8fa5780a3f18 Mon Sep 17 00:00:00 2001 From: Alexander Bruy Date: Thu, 27 Apr 2017 15:41:15 +0300 Subject: [PATCH] add online QGIS User Guide as default help source (fix #16155) NOTE: to use online QGIS user Guide as help source we still need some server-side tweaks: redirection to the testing docs for non-LTR QGIS versions and redirection to english docs for not supported locales --- src/app/qgsoptions.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/qgsoptions.cpp b/src/app/qgsoptions.cpp index 9e4843c701b..f2bc359c136 100644 --- a/src/app/qgsoptions.cpp +++ b/src/app/qgsoptions.cpp @@ -267,7 +267,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QListvalue( QStringLiteral( "help/helpSearchPath" ) ).toStringList(); + QStringList helpPathList = mSettings->value( QStringLiteral( "help/helpSearchPath" ), "http://docs.qgis.org/$qgis_short_version/$qgis_locale/docs/user_manual/" ).toStringList(); Q_FOREACH ( const QString &path, helpPathList ) { QTreeWidgetItem *item = new QTreeWidgetItem();