Fix build err in Linux x86_64, gcc 4.7,3 , qt 4.8.4

Signed-off-by: sndnvaps <sndnvaps@gmail.com>
fix perm

Signed-off-by: sndnvaps <sndnvaps@gmail.com>