Skip to content
Permalink
Browse files
log requested help URLs
  • Loading branch information
alexbruy committed Feb 11, 2018
1 parent dd3ba34 commit a71912b
Showing 1 changed file with 3 additions and 0 deletions.
@@ -19,6 +19,7 @@
#include "qgssettings.h"
#include "qgsapplication.h"
#include "qgsexpressioncontext.h"
#include "qgsmessagelog.h"

#include <QUrl>
#include <QFileInfo>
@@ -73,6 +74,8 @@ QUrl QgsHelp::helpUrl( const QString &key )

helpPath = QStringLiteral( "%1/%2" ).arg( fullPath, key );

QgsMessageLog::logMessage( QObject::tr( "Trying to open help from '%1'…" ).arg( helpPath ), QObject::tr( "QGIS Help" ), Qgis::Info );

if ( helpPath.startsWith( QStringLiteral( "http" ) ) )
{
if ( !QgsHelp::urlExists( helpPath ) )

0 comments on commit a71912b

Please sign in to comment.