From 735d75d6ce19269dc5faa00abc8f88ff30ce2f23 Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Fri, 13 Jan 2012 13:15:14 -0600 Subject: Fix inadvertent TQt string conversions This closes Bug 782 --- chalk/colorspaces/wetsticky/kis_wet_sticky_colorspace.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'chalk/colorspaces') diff --git a/chalk/colorspaces/wetsticky/kis_wet_sticky_colorspace.cc b/chalk/colorspaces/wetsticky/kis_wet_sticky_colorspace.cc index 22badb9c..ad13eb91 100644 --- a/chalk/colorspaces/wetsticky/kis_wet_sticky_colorspace.cc +++ b/chalk/colorspaces/wetsticky/kis_wet_sticky_colorspace.cc @@ -48,7 +48,7 @@ enum WetStickyChannelIndex { HUE_CHANNEL_INDEX, SATURATION_CHANNEL_INDEX, LIGHTNESS_CHANNEL_INDEX, - LITQUID_CONTENT_CHANNEL_INDEX, + LIQUID_CONTENT_CHANNEL_INDEX, DRYING_RATE_CHANNEL_INDEX, MISCIBILITY_CHANNEL_INDEX, GRAVITATIONAL_DIRECTION_INDEX, @@ -513,7 +513,7 @@ TQString KisWetStickyColorSpace::channelValueText(const TQ_UINT8 *U8_pixel, TQ_U return TQString().setNum(pixel -> saturation); case LIGHTNESS_CHANNEL_INDEX: return TQString().setNum(pixel -> lightness); - case LITQUID_CONTENT_CHANNEL_INDEX: + case LIQUID_CONTENT_CHANNEL_INDEX: return TQString().setNum(pixel -> liquid_content); case DRYING_RATE_CHANNEL_INDEX: return TQString().setNum(pixel -> drying_rate); @@ -569,7 +569,7 @@ TQString KisWetStickyColorSpace::normalisedChannelValueText(const TQ_UINT8 *U8_p return TQString().setNum(pixel -> saturation); case LIGHTNESS_CHANNEL_INDEX: return TQString().setNum(pixel -> lightness); - case LITQUID_CONTENT_CHANNEL_INDEX: + case LIQUID_CONTENT_CHANNEL_INDEX: return TQString().setNum(static_cast(pixel -> liquid_content) / UINT8_MAX); case DRYING_RATE_CHANNEL_INDEX: return TQString().setNum(static_cast(pixel -> drying_rate) / UINT8_MAX); -- cgit v1.2.1