Skip to content
Permalink
Browse files

qgsmodeldesignerdialog.h: add cppcheck suppressions because it is lat…

…er confused by lambda functions calling those pure virtual methods
  • Loading branch information
rouault committed Jun 1, 2020
1 parent 2081e0d commit 641e495566dbafd19852ff17c97415e7496bc569
Showing with 2 additions and 0 deletions.
  1. +2 −0 src/gui/processing/models/qgsmodeldesignerdialog.h
@@ -95,10 +95,12 @@ class GUI_EXPORT QgsModelDesignerDialog : public QMainWindow, public Ui::QgsMode

protected:

// cppcheck-suppress pureVirtualCall
virtual void repaintModel( bool showControls = true ) = 0;
virtual void addAlgorithm( const QString &algorithmId, const QPointF &pos ) = 0;
virtual void addInput( const QString &inputId, const QPointF &pos ) = 0;
virtual void exportAsScriptAlgorithm() = 0;
// cppcheck-suppress pureVirtualCall
virtual void saveModel( bool saveAs = false ) = 0;

QToolBar *toolbar() { return mToolbar; }

0 comments on commit 641e495

Please sign in to comment.
You can’t perform that action at this time.