"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "plugins/impex/tiff/kis_dlg_options_tiff.cpp" between
krita-5.1.3.tar.xz and krita-5.1.4.tar.xz

About: Krita is a painting program offering art tools for everyone (concept art, texture and matte painters, illustrations and comics).

kis_dlg_options_tiff.cpp  (krita-5.1.3.tar.xz):kis_dlg_options_tiff.cpp  (krita-5.1.4.tar.xz)
skipping to change at line 110 skipping to change at line 110
if (colorDepthId != Integer8BitsColorDepthID.id()) { if (colorDepthId != Integer8BitsColorDepthID.id()) {
kComboBoxCompressionType->removeItem( kComboBoxCompressionType->removeItem(
kComboBoxCompressionType->findData(1)); kComboBoxCompressionType->findData(1));
} }
} }
{ {
const QString colorModelId = const QString colorModelId =
cfg->getString(KisImportExportFilter::ColorModelIDTag); cfg->getString(KisImportExportFilter::ColorModelIDTag);
if (colorModelId == CMYKAColorModelID.id() if (colorModelId == YCbCrAColorModelID.id()) {
|| colorModelId == YCbCrAColorModelID.id()) {
alpha->setChecked(false); alpha->setChecked(false);
alpha->setEnabled(false); alpha->setEnabled(false);
} }
} }
} }
KisPropertiesConfigurationSP KisTIFFOptionsWidget::configuration() const KisPropertiesConfigurationSP KisTIFFOptionsWidget::configuration() const
{ {
KisPropertiesConfigurationSP cfg(new KisPropertiesConfiguration()); KisPropertiesConfigurationSP cfg(new KisPropertiesConfiguration());
cfg->setProperty("compressiontype", cfg->setProperty("compressiontype",
skipping to change at line 160 skipping to change at line 159
codecsOptionsStack->setCurrentIndex(0); codecsOptionsStack->setCurrentIndex(0);
} }
} }
void KisTIFFOptionsWidget::flattenToggled(bool t) void KisTIFFOptionsWidget::flattenToggled(bool t)
{ {
alpha->setEnabled(t); alpha->setEnabled(t);
if (!t) { if (!t) {
alpha->setChecked(true); alpha->setChecked(true);
} }
#ifdef TIFF_CAN_WRITE_PSD_TAGS
chkPhotoshop->setEnabled(!t); chkPhotoshop->setEnabled(!t);
if (t) { if (t) {
chkPhotoshop->setChecked(false); chkPhotoshop->setChecked(false);
} }
#endif
} }
 End of changes. 3 change blocks. 
2 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)