Skip to content

Commit 47e178a

Browse files
pierstitusnyalldawson
authored andcommitted
code style fixes
1 parent c032d16 commit 47e178a

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

src/gui/raster/qgssinglebandpseudocolorrendererwidget.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -754,12 +754,6 @@ void QgsSingleBandPseudoColorRendererWidget::on_mBandComboBox_currentIndexChange
754754
mMinMaxWidget->setBands( myBands );
755755
}
756756

757-
void QgsSingleBandPseudoColorRendererWidget::on_mColorInterpolationComboBox_currentIndexChanged( int index )
758-
{
759-
Q_UNUSED(index);
760-
autoLabel();
761-
}
762-
763757
void QgsSingleBandPseudoColorRendererWidget::loadMinMax( int theBandNo, double theMin, double theMax, int theOrigin )
764758
{
765759
Q_UNUSED( theBandNo );

src/gui/raster/qgssinglebandpseudocolorrendererwidget.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ class GUI_EXPORT QgsSingleBandPseudoColorRendererWidget: public QgsRasterRendere
6363
void on_mColormapTreeWidget_itemDoubleClicked( QTreeWidgetItem* item, int column );
6464
void mColormapTreeWidget_itemEdited( QTreeWidgetItem* item, int column );
6565
void on_mBandComboBox_currentIndexChanged( int index );
66-
void on_mColorInterpolationComboBox_currentIndexChanged( int index );
66+
void on_mColorInterpolationComboBox_currentIndexChanged( int index ) { Q_UNUSED( index ); autoLabel(); }
6767
void on_mMinLineEdit_textChanged( const QString & text ) { Q_UNUSED( text ); resetClassifyButton(); }
6868
void on_mMaxLineEdit_textChanged( const QString & text ) { Q_UNUSED( text ); resetClassifyButton(); }
6969
void on_mMinLineEdit_textEdited( const QString & text ) { Q_UNUSED( text ); mMinMaxOrigin = QgsRasterRenderer::MinMaxUser; showMinMaxOrigin(); }
@@ -80,7 +80,7 @@ class GUI_EXPORT QgsSingleBandPseudoColorRendererWidget: public QgsRasterRendere
8080
int mMinMaxOrigin;
8181
};
8282

83-
class QgsTreeWidgetItem: public QObject, public QTreeWidgetItem
83+
class GUI_EXPORT QgsTreeWidgetItem: public QObject, public QTreeWidgetItem
8484
{
8585
Q_OBJECT
8686
public:

0 commit comments

Comments
 (0)