Skip to content
Permalink
Browse files
Fix build error when using Qwt 6.1, followup to f283040
  • Loading branch information
dakcarto committed May 20, 2014
1 parent 7d535b4 commit 530a36d0c2ab745b5fd2065c5899b5cd0381d2ea
Showing with 0 additions and 2 deletions.
  1. +0 −2 src/app/qgsidentifyresultsdialog.cpp
@@ -589,7 +589,6 @@ void QgsIdentifyResultsDialog::mapLayerActionDestroyed()
}
}

#if defined(QWT_VERSION) && QWT_VERSION<0x060000
QgsIdentifyPlotCurve::QgsIdentifyPlotCurve( const QMap<QString, QString> &attributes,
QwtPlot* plot, const QString &title, QColor color )
{
@@ -651,7 +650,6 @@ QgsIdentifyPlotCurve::~QgsIdentifyPlotCurve()
delete mPlotCurve;
}
}
#endif

void QgsIdentifyResultsDialog::addFeature( QgsRasterLayer *layer,
QString label,

4 comments on commit 530a36d

@dakcarto

This comment has been minimized.

Copy link
Member Author

@dakcarto dakcarto replied May 20, 2014

@etiennesky Please review this change, with regards to f283040 and fe2435c. I could not compile when using Qwt 6.1 otherwise.

@etiennesky

This comment has been minimized.

Copy link
Contributor

@etiennesky etiennesky replied May 20, 2014

build fine with qwt5, this error probably appeared with the rebase.
can you make a quick test to make sure that the graph works fine for you? Just opening the test dataset landsat.tif should be enough.
thanks!

@dakcarto

This comment has been minimized.

Copy link
Member Author

@dakcarto dakcarto replied May 20, 2014

Appears fine when testing landsat.tif:
ident_graph

@etiennesky

This comment has been minimized.

Copy link
Contributor

@etiennesky etiennesky replied May 20, 2014

Please sign in to comment.