Core: Compile fix with Qt 4

Change-Id: I0729cb0a261bbff2aa4746998474198712bf8b96
Reviewed-by: hjk <hjk121@nokiamail.com>