Skip to content

Commit 3496871

Browse files
DelazJm-kuhn
authored andcommitted
Add new help links
1 parent 77b2e97 commit 3496871

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/app/ogr/qgsvectorlayersaveasdialog.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020

2121
#include <ui_qgsvectorlayersaveasdialogbase.h>
2222
#include <QDialog>
23-
#include "qgscontexthelp.h"
23+
#include "qgshelp.h"
2424
#include "qgsfields.h"
2525
#include "qgsvectorfilewriter.h"
2626
#include "qgis_app.h"
@@ -112,7 +112,7 @@ class APP_EXPORT QgsVectorLayerSaveAsDialog : public QDialog, private Ui::QgsVec
112112
void on_leFilename_textChanged( const QString& text );
113113
void on_browseFilename_clicked();
114114
void on_mCrsSelector_crsChanged( const QgsCoordinateReferenceSystem& crs );
115-
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
115+
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "introduction/general_tools.html#save-layer-into-file" ) ); }
116116
void on_mSymbologyExportComboBox_currentIndexChanged( const QString& text );
117117
void on_mGeometryTypeComboBox_currentIndexChanged( int index );
118118
void accept() override;

src/gui/qgsnewvectorlayerdialog.h

+2-2
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
#include "ui_qgsnewvectorlayerdialogbase.h"
2121
#include "qgisgui.h"
22-
#include "qgscontexthelp.h"
22+
#include "qgshelp.h"
2323

2424
#include "qgis.h"
2525
#include "qgis_gui.h"
@@ -55,7 +55,7 @@ class GUI_EXPORT QgsNewVectorLayerDialog: public QDialog, private Ui::QgsNewVect
5555
void on_mRemoveAttributeButton_clicked();
5656
void on_mFileFormatComboBox_currentIndexChanged( int index );
5757
void on_mTypeBox_currentIndexChanged( int index );
58-
void on_buttonBox_helpRequested() { QgsContextHelp::run( metaObject()->className() ); }
58+
void on_buttonBox_helpRequested() { QgsHelp::openHelp( QStringLiteral( "working_with_vector/editing_geometry_attributes.html#creating-a-new-shapefile-layer" ) ); }
5959
void nameChanged( const QString& );
6060
void selectionChanged();
6161

0 commit comments

Comments
 (0)