Skip to content

Commit a71912b

Browse files
committed
log requested help URLs
1 parent dd3ba34 commit a71912b

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/gui/qgshelp.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
#include "qgssettings.h"
2020
#include "qgsapplication.h"
2121
#include "qgsexpressioncontext.h"
22+
#include "qgsmessagelog.h"
2223

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

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

77+
QgsMessageLog::logMessage( QObject::tr( "Trying to open help from '%1'…" ).arg( helpPath ), QObject::tr( "QGIS Help" ), Qgis::Info );
78+
7679
if ( helpPath.startsWith( QStringLiteral( "http" ) ) )
7780
{
7881
if ( !QgsHelp::urlExists( helpPath ) )

0 commit comments

Comments
 (0)