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++
Rename "Diffuse White" -> "HDR Reference White" in the GUI
Dmitry Kazakov3d06d4b840df
diff --git a/libs/ui/dialogs/kis_dlg_image_properties.cc b/libs/ui/dialogs/kis_dlg_image_properties.ccindex e5ffa87d3b..1fa67cb8b5 100644--- a/libs/ui/dialogs/kis_dlg_image_properties.cc+++ b/libs/ui/dialogs/kis_dlg_image_properties.cc@@ -133,9 +133,9 @@ KisDlgImageProperties::KisDlgImageProperties(KisImageWSP image, KisDisplayColorCd->hdrMetadataModel.setCvi(d->image->colorVolumeInformation());connect(m_page->btnCalculateClli, &QPushButton::clicked, this, &KisDlgImageProperties::slotCalculateLightLevels);- KisWidgetConnectionUtils::connectControlState( m_page->cmbDiffuseWhite, &d->hdrMetadataModel, "referenceWhiteState", "referenceWhiteIndex");+ KisWidgetConnectionUtils::connectControlState( m_page->cmbHdrReferenceWhite, &d->hdrMetadataModel, "referenceWhiteState", "referenceWhiteIndex");- KisWidgetConnectionUtils::connectControlState( m_page->gbxDiffuseWhite, &d->hdrMetadataModel, "referenceWhitePresentState", "referenceWhitePresent");+ KisWidgetConnectionUtils::connectControlState( m_page->gbxHdrReferenceWhite, &d->hdrMetadataModel, "referenceWhitePresentState", "referenceWhitePresent");KisWidgetConnectionUtils::connectControlState( m_page->gbxContentLightLevel, &d->hdrMetadataModel, "clliPresentState", "clliPresent");KisWidgetConnectionUtils::connectControl( m_page->spnMaxCll, &d->hdrMetadataModel, "maxContentLightLevel");diff --git a/libs/ui/forms/wdgimageproperties.ui b/libs/ui/forms/wdgimageproperties.uiindex 02fbc56605..fb29fd0b01 100644--- a/libs/ui/forms/wdgimageproperties.ui+++ b/libs/ui/forms/wdgimageproperties.ui@@ -303,9 +303,9 @@</attribute><layout class="QVBoxLayout" name="verticalLayout_7"><item>- <widget class="QGroupBox" name="gbxDiffuseWhite">+ <widget class="QGroupBox" name="gbxHdrReferenceWhite"><property name="title">- <string>Diffuse White</string>+ <string>HDR Reference White</string></property><property name="checkable"><bool>true</bool>@@ -315,7 +315,7 @@</property><layout class="QVBoxLayout" name="verticalLayout_8"><item>- <widget class="QComboBox" name="cmbDiffuseWhite"/>+ <widget class="QComboBox" name="cmbHdrReferenceWhite"/></item></layout></widget>