@@ -54,7 +54,7 @@ class QgsProcessingAlgorithmDialogFeedback : public QgsProcessingFeedback
54
54
signals:
55
55
56
56
void progressTextChanged ( const QString &text );
57
- void errorReported ( const QString &text );
57
+ void errorReported ( const QString &text, bool fatalError );
58
58
void infoPushed ( const QString &text );
59
59
void commandInfoPushed ( const QString &text );
60
60
void debugInfoPushed ( const QString &text );
@@ -63,7 +63,7 @@ class QgsProcessingAlgorithmDialogFeedback : public QgsProcessingFeedback
63
63
public slots:
64
64
65
65
void setProgressText ( const QString &text ) override ;
66
- void reportError ( const QString &error ) override ;
66
+ void reportError ( const QString &error, bool fatalError ) override ;
67
67
void pushInfo ( const QString &info ) override ;
68
68
void pushCommandInfo ( const QString &info ) override ;
69
69
void pushDebugInfo ( const QString &info ) override ;
@@ -150,8 +150,10 @@ class GUI_EXPORT QgsProcessingAlgorithmDialogBase : public QDialog, private Ui::
150
150
151
151
/* *
152
152
* Reports an \a error string to the dialog's log.
153
+ *
154
+ * If \a fatalError is true, the error prevented the algorithm from executing.
153
155
*/
154
- void reportError ( const QString &error );
156
+ void reportError ( const QString &error, bool fatalError );
155
157
156
158
/* *
157
159
* Pushes an information string to the dialog's log.
0 commit comments