Skip to content

Commit

Permalink
Dox
Browse files Browse the repository at this point in the history
  • Loading branch information
nyalldawson committed Sep 25, 2018
1 parent fd1d6c1 commit f29c48b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ class QgsRasterCalculatorEntry
{
%Docstring
Represents an individual raster layer/band number entry within a raster calculation.

.. versionadded:: 2.18
%End

%TypeHeaderCode
Expand Down
1 change: 1 addition & 0 deletions src/analysis/raster/qgsrastercalculator.h
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ class QgsFeedback;
* \ingroup analysis
* \class QgsRasterCalculatorEntry
* Represents an individual raster layer/band number entry within a raster calculation.
* \since QGIS 2.18
*/
class ANALYSIS_EXPORT QgsRasterCalculatorEntry
{
Expand Down
2 changes: 1 addition & 1 deletion tests/src/analysis/testqgsrastercalculator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -599,7 +599,7 @@ void TestQgsRasterCalculator::errors()
QCOMPARE( static_cast< int >( rc.processCalculation() ), 1 );
QCOMPARE( rc.lastError(), QStringLiteral( "Could not create output /goodluckwritinghere/blah/blah.tif" ) );

// cancelled
// canceled
QgsFeedback feedback;
feedback.cancel();
rc = QgsRasterCalculator( QStringLiteral( "\"landsat@0\"" ),
Expand Down

0 comments on commit f29c48b

Please sign in to comment.