Krita is a free and open source cross-platform application that offers an end-to-end solution for creating digital art files from scratch built on the KDE and Qt frameworks.
C++
Fix missing number in histogram docker.
Wolthera van Hövell tot Westerflierebd84407809a
diff --git a/plugins/dockers/histogram/histogramdockerwidget.cpp b/plugins/dockers/histogram/histogramdockerwidget.cppindex c777eebc47..df93621d66 100644--- a/plugins/dockers/histogram/histogramdockerwidget.cpp+++ b/plugins/dockers/histogram/histogramdockerwidget.cpp@@ -72,7 +72,7 @@ void HistogramDockerWidget::clearCachedState()QMap<float, float> calculateLogGridLines(int width, qreal maximumValue) {int power = 1;- QList<float> mainLines = {0.0, 0.25, 0.5, 1.0};+ QList<float> mainLines = {0.0, 0.25, 0.5, 0.75, 1.0};while (mainLines.last() < (maximumValue)) {qreal mainLine = powf(10, power);mainLines.append(mainLine * 0.25);