Changed if/if/else/if/eleven chain to switch
authorJoão Abecasis <joao.abecasis@nokia.com>
Fri, 5 Aug 2011 08:32:08 +0000 (10:32 +0200)
committerQt by Nokia <qt-info@nokia.com>
Thu, 20 Oct 2011 03:49:33 +0000 (05:49 +0200)
commit88316bf283b27a9797179b3aea416898e4cd14b0
tree8a6cae675f330f927e0f5c9905a36d9bf8940125
parent74276637d9ad3ee67440c37f8c26853cc6f51bc9
Changed if/if/else/if/eleven chain to switch

Inlined isdigit in switch statement. Removed unused #includes.
Documented unreachable segment with code (Q_ASSERT).

Reviewed-by: Denis Dzyubenko
(cherry picked from commit 3596db6c9bb8db42476d0c7b52fa2043dc67135b)

Change-Id: I98c33801fd8794e95ba8fc0b5c4efe9b1910682b
Reviewed-by: João Abecasis <joao.abecasis@nokia.com>
src/corelib/io/qtemporaryfile.cpp