Compile fix for QT_NO_DOCKWIDGET in QtWidgets

Change-Id: I4567e4d0e5738c1de74661a325895f9eaa1d06c4
Reviewed-by: Laszlo Agocs <laszlo.agocs@digia.com>