7c30c6eb43
- Update to 3.16.3 - Drop upstream patch: * qgis-pr37842-sip5.patch OBS-URL: https://build.opensuse.org/request/show/865412 OBS-URL: https://build.opensuse.org/package/show/Application:Geo/qgis?expand=0&rev=318
22 lines
895 B
Diff
22 lines
895 B
Diff
From 10ab25e13d934a898c7b11f2f07faed10ba2ae9e Mon Sep 17 00:00:00 2001
|
|
From: Nyall Dawson <nyall.dawson@gmail.com>
|
|
Date: Mon, 16 Nov 2020 07:09:57 +1000
|
|
Subject: [PATCH] Fix build warning on gcc
|
|
|
|
---
|
|
src/gui/raster/qgscolorrampshaderwidget.cpp | 1 +
|
|
1 file changed, 1 insertion(+)
|
|
|
|
diff --git a/src/gui/raster/qgscolorrampshaderwidget.cpp b/src/gui/raster/qgscolorrampshaderwidget.cpp
|
|
index 44e8a4773767..529c7bc197f7 100644
|
|
--- a/src/gui/raster/qgscolorrampshaderwidget.cpp
|
|
+++ b/src/gui/raster/qgscolorrampshaderwidget.cpp
|
|
@@ -766,6 +766,7 @@ QString QgsColorRampShaderWidget::createLabel( QTreeWidgetItem *currentItem, int
|
|
return QLocale().toString( val, 'f', mLabelPrecisionSpinBox->value() );
|
|
}
|
|
}
|
|
+ return QString();
|
|
};
|
|
|
|
QgsColorRampShader::Type interpolation = static_cast< QgsColorRampShader::Type >( mColorInterpolationComboBox->currentData().toInt() );
|