Skip to content

Commit a3e62a8

Browse files
DelazJnyalldawson
authored andcommitted
Link georef help button
1 parent d79221f commit a3e62a8

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

src/plugins/georeferencer/qgsgeorefplugingui.cpp

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -688,11 +688,9 @@ void QgsGeorefPluginGui::localHistogramStretch()
688688
}
689689

690690
// Info slots
691-
void QgsGeorefPluginGui::contextHelp()
691+
void QgsGeorefPluginGui::showHelp()
692692
{
693-
QgsGeorefDescriptionDialog dlg( this );
694-
dlg.exec();
695-
}
693+
QgsHelp::openHelp( QStringLiteral( "plugins/plugins_georeferencer.html#defining-the-transformation-settings" ) );}
696694

697695
// Comfort slots
698696
void QgsGeorefPluginGui::jumpToGCP( uint theGCPIndex )
@@ -914,7 +912,7 @@ void QgsGeorefPluginGui::createActions()
914912

915913
// Help actions
916914
mActionHelp = new QAction( tr( "Help" ), this );
917-
connect( mActionHelp, &QAction::triggered, this, &QgsGeorefPluginGui::contextHelp );
915+
connect( mActionHelp, &QAction::triggered, this, &QgsGeorefPluginGui::showHelp );
918916

919917
mActionQuit->setIcon( getThemeIcon( QStringLiteral( "/mActionQuit.png" ) ) );
920918
mActionQuit->setShortcuts( QList<QKeySequence>() << QKeySequence( Qt::CTRL + Qt::Key_Q )

src/plugins/georeferencer/qgsgeorefplugingui.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ class QgsGeorefPluginGui : public QMainWindow, private Ui::QgsGeorefPluginGuiBas
104104
void showGeorefConfigDialog();
105105

106106
// plugin info
107-
void contextHelp();
107+
void showHelp();
108108

109109
// comfort
110110
void jumpToGCP( uint theGCPIndex );

0 commit comments

Comments
 (0)