Skip to content

Commit

Permalink
Link georef help button
Browse files Browse the repository at this point in the history
  • Loading branch information
DelazJ authored and nyalldawson committed Mar 5, 2018
1 parent d79221f commit a3e62a8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions src/plugins/georeferencer/qgsgeorefplugingui.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,11 +688,9 @@ void QgsGeorefPluginGui::localHistogramStretch()
}

// Info slots
void QgsGeorefPluginGui::contextHelp()
void QgsGeorefPluginGui::showHelp()
{
QgsGeorefDescriptionDialog dlg( this );
dlg.exec();
}
QgsHelp::openHelp( QStringLiteral( "plugins/plugins_georeferencer.html#defining-the-transformation-settings" ) );}

// Comfort slots
void QgsGeorefPluginGui::jumpToGCP( uint theGCPIndex )
Expand Down Expand Up @@ -914,7 +912,7 @@ void QgsGeorefPluginGui::createActions()

// Help actions
mActionHelp = new QAction( tr( "Help" ), this );
connect( mActionHelp, &QAction::triggered, this, &QgsGeorefPluginGui::contextHelp );
connect( mActionHelp, &QAction::triggered, this, &QgsGeorefPluginGui::showHelp );

mActionQuit->setIcon( getThemeIcon( QStringLiteral( "/mActionQuit.png" ) ) );
mActionQuit->setShortcuts( QList<QKeySequence>() << QKeySequence( Qt::CTRL + Qt::Key_Q )
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/georeferencer/qgsgeorefplugingui.h
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class QgsGeorefPluginGui : public QMainWindow, private Ui::QgsGeorefPluginGuiBas
void showGeorefConfigDialog();

// plugin info
void contextHelp();
void showHelp();

// comfort
void jumpToGCP( uint theGCPIndex );
Expand Down

0 comments on commit a3e62a8

Please sign in to comment.