Skip to content
Permalink
Browse files

Fix labels for discrete

  • Loading branch information
elpaso committed Nov 11, 2020
1 parent 0b41a02 commit be7cbf170c7a8e78f8e264508cf91250a8a26f63
Showing with 2 additions and 2 deletions.
  1. +1 −1 src/gui/raster/qgscolorrampshaderwidget.cpp
  2. +1 −1 src/gui/raster/qgscolorrampshaderwidget.h
@@ -719,7 +719,7 @@ void QgsColorRampShaderWidget::resetClassifyButton()
}
}

QString QgsColorRampShaderWidget::createLabel( QTreeWidgetItem *currentItem, bool row, const QString unit )
QString QgsColorRampShaderWidget::createLabel( QTreeWidgetItem *currentItem, int row, const QString unit )
{
auto applyPrecision = [ = ]( const QString & value )
{
@@ -151,7 +151,7 @@ class GUI_EXPORT QgsColorRampShaderWidget: public QWidget, protected Ui::QgsColo
double lineEditValue( const QLineEdit *lineEdit ) const;
void resetClassifyButton();

QString createLabel( QTreeWidgetItem *item, bool row, const QString unit );
QString createLabel( QTreeWidgetItem *item, int row, const QString unit );

#ifdef QGISDEBUG
//! Dump all the classes for debugging purposes

0 comments on commit be7cbf1

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