diff -r 64817133cd1d -r 42ba2d16bf40 camerauis/cameraxui/cxui/src/cxuisettingslider.cpp --- a/camerauis/cameraxui/cxui/src/cxuisettingslider.cpp Tue Jul 06 14:04:02 2010 +0300 +++ b/camerauis/cameraxui/cxui/src/cxuisettingslider.cpp Wed Aug 18 09:37:18 2010 +0300 @@ -1,5 +1,5 @@ /* -* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* Copyright (c) 2009-2010 Nokia Corporation and/or its subsidiary(-ies). * All rights reserved. * This component and the accompanying materials are made available * under the terms of "Eclipse Public License v1.0" @@ -95,10 +95,7 @@ mSettingId = id; // once the settingid is set, we can get the current value for the slider from the engine - qreal value = 0; - - int err = mSettings->get(mSettingId, value); - CX_DEBUG((("err: %d value: %d"),err,value)); + qreal value = mSettings->get(mSettingId, 0); // engine value has to be scaled when set to slider setValue(value * mSliderScaleValue);