Fix cut of string when weather string is longer

Task-number: QTBUG-34910
Change-Id: I90a1748496b55b2e69db5c94fa217f79d43c176f
Reviewed-by: Jim Ehrismann <jehrismann@blackberry.com>
Reviewed-by: Alex Blasche <alexander.blasche@digia.com>