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
This commit is contained in:
Alexander Bruy 2017-04-27 15:41:15 +03:00
parent 468fd97768
commit 09d126325c

View File

@ -267,7 +267,7 @@ QgsOptions::QgsOptions( QWidget *parent, Qt::WindowFlags fl, const QList<QgsOpti
}
//locations of the QGIS help
QStringList helpPathList = mSettings->value( 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();