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 typo, add some tool tips and remove debug statements.
Wolthera van Hövell tot Westerflier765252ee7563
diff --git a/libs/image/processing/KisContentLightLevelProcessingVistor.cpp b/libs/image/processing/KisContentLightLevelProcessingVistor.cppindex f9a98f5c6b..ce9bf0ffaa 100644--- a/libs/image/processing/KisContentLightLevelProcessingVistor.cpp+++ b/libs/image/processing/KisContentLightLevelProcessingVistor.cpp@@ -58,7 +58,6 @@ KisContentLightLevelInformation KisContentLightLevelProcessingVistor::calculateFdouble average = 0.0;int divider = 0;const QRectF imageBounds = dev->extent();- qDebug() << "preparing frame" << imageBounds;bool canConvertLinear = dev->colorSpace()->colorModelId() == RGBAColorModelID && dev->colorSpace()->profile()->getColorPrimaries() != PRIMARIES_UNSPECIFIED;@@ -118,6 +117,5 @@ KisContentLightLevelInformation KisContentLightLevelProcessingVistor::calculateF}clli.maxFrameAverageLightLevel = average / divider;- qDebug() << "handled frame" << clli.maxContentLightLevel << clli.maxFrameAverageLightLevel;return clli;}diff --git a/libs/ui/animation/KisHDRMetadataOptions.cpp b/libs/ui/animation/KisHDRMetadataOptions.cppindex 4a0290190c..84ed89df43 100644--- a/libs/ui/animation/KisHDRMetadataOptions.cpp+++ b/libs/ui/animation/KisHDRMetadataOptions.cpp@@ -91,6 +91,5 @@ QString KisHDRMetadataOptions::generateFFMpegOptions() const"transfer=smpte2084:""range=full");- qDebug() << x265Params;return x265Params;}diff --git a/libs/ui/dialogs/kis_dlg_image_properties.cc b/libs/ui/dialogs/kis_dlg_image_properties.ccindex 43a43d5a1d..34ec0e4b1c 100644--- a/libs/ui/dialogs/kis_dlg_image_properties.cc+++ b/libs/ui/dialogs/kis_dlg_image_properties.cc@@ -133,6 +133,10 @@ KisDlgImageProperties::KisDlgImageProperties(KisImageWSP image, KisDisplayColorCm_page->cmbLumiCalcType->addItem(i18n("Rec 2020 Per Component"), KisContentLightLevelInformation::Rec2020Component);m_page->cmbLumiCalcType->addItem(i18n("RGB Per Component"), KisContentLightLevelInformation::RGBComponent);+ m_page->cmbLumiCalcType->setItemData(0, i18nc("@tooltip", "Calculate the brightness in nits against XYZ luminance."), Qt::ToolTipRole);+ m_page->cmbLumiCalcType->setItemData(1, i18nc("@tooltip", "Calculate the brightness in nits by testing the components in linear rec 2020."), Qt::ToolTipRole);+ m_page->cmbLumiCalcType->setItemData(2, i18nc("@tooltip", "Calculate the brightness in nits by testing the components in linear RGB, if possible, falls back to using XYZ luminance."), Qt::ToolTipRole);+connect(m_page->cmbColorVolumePresets, SIGNAL(activated(int)), this, SLOT(changeColorVolumePreset()));connect(m_page->gbxColorVolume, &QGroupBox::clicked, &d->colorVolumeCompressor, &KisSignalCompressor::start);connect(m_page->spnWhiteX, &QDoubleSpinBox::valueChanged, &d->colorVolumeCompressor, &KisSignalCompressor::start);diff --git a/libs/ui/forms/wdgimageproperties.ui b/libs/ui/forms/wdgimageproperties.uiindex 45315af2fb..8de9c45a96 100644--- a/libs/ui/forms/wdgimageproperties.ui+++ b/libs/ui/forms/wdgimageproperties.ui@@ -349,7 +349,7 @@<item row="1" column="0"><widget class="QLabel" name="label_15"><property name="text">- <string>Max Frame Avarage light Level:</string>+ <string><html><head/><body><p>Max Frame Average Light Level:</p></body></html></string></property></widget></item>