From b2b92dad82db4ed07a7eeb10f8e225d22d54a6c1 Mon Sep 17 00:00:00 2001 From: Thiago Macieira Date: Thu, 3 May 2012 16:58:59 +0200 Subject: Change uses of {to,from}Ascii to {to,from}Latin1 This operation should be a no-op anyway, since at this point in time, the fromAscii and toAscii functions simply call their fromLatin1 and toLatin1 counterparts. Task-number: QTBUG-21872 Change-Id: Ic591779a3431999c007fb0ff362c7e25ce54097e Reviewed-by: Jonas Rabbe --- src/plugins/gstreamer/camerabin/camerabinimageprocessing.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/gstreamer/camerabin/camerabinimageprocessing.cpp') diff --git a/src/plugins/gstreamer/camerabin/camerabinimageprocessing.cpp b/src/plugins/gstreamer/camerabin/camerabinimageprocessing.cpp index 7019092b7..4983678c4 100644 --- a/src/plugins/gstreamer/camerabin/camerabinimageprocessing.cpp +++ b/src/plugins/gstreamer/camerabin/camerabinimageprocessing.cpp @@ -105,7 +105,7 @@ bool CameraBinImageProcessing::setColorBalanceValue(const QString& channel, int for (item = controls; item; item = g_list_next (item)) { colorBalanceChannel = (GstColorBalanceChannel *)item->data; - if (!g_ascii_strcasecmp (colorBalanceChannel->label, channel.toAscii())) { + if (!g_ascii_strcasecmp (colorBalanceChannel->label, channel.toLatin1())) { gst_color_balance_set_value (balance, colorBalanceChannel, value); return true; } -- cgit v1.2.3